* startup.el (command-line-1): Convert options beginning with a single dash as well (Bug#5519).
+2010-02-05 Chong Yidong <cyd@stupidchicken.com>
+
+ * startup.el (command-line-1): Convert options beginning with a
+ single dash as well (Bug#5519).
+
2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
Make `initials' completion work for /hh -> /home/horn again (bug#5524).
(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))