[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r99452: Fix 2009-02-20 change to star
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r99452: Fix 2009-02-20 change to startup.el (Bug#5519). |
Date: |
Thu, 04 Feb 2010 23:49:36 -0500 |
User-agent: |
Bazaar (2.0.2) |
------------------------------------------------------------
revno: 99452
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Thu 2010-02-04 23:49:36 -0500
message:
Fix 2009-02-20 change to startup.el (Bug#5519).
* startup.el (command-line-1): Convert options beginning with a single dash
as well (Bug#5519).
modified:
lisp/ChangeLog
lisp/startup.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-02-05 04:21:11 +0000
+++ b/lisp/ChangeLog 2010-02-05 04:49:36 +0000
@@ -1,3 +1,8 @@
+2010-02-05 Chong Yidong <address@hidden>
+
+ * startup.el (command-line-1): Convert options beginning with a
+ single dash as well (Bug#5519).
+
2010-02-05 Stefan Monnier <address@hidden>
Make `initials' completion work for /hh -> /home/horn again (bug#5524).
=== modified file 'lisp/startup.el'
--- a/lisp/startup.el 2010-01-16 19:28:59 +0000
+++ b/lisp/startup.el 2010-02-05 04:49:36 +0000
@@ -2103,7 +2103,7 @@
(when (string-match "\\`\\(--[^=]*\\)=" argi)
(setq argval (substring argi (match-end 0))
argi (match-string 1 argi)))
- (when (string-match "\\`--." orig-argi)
+ (when (string-match "\\`--?[^-]" orig-argi)
(setq completion (try-completion argi longopts))
(if (eq completion t)
(setq argi (substring argi 1))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r99452: Fix 2009-02-20 change to startup.el (Bug#5519).,
Chong Yidong <=