# HG changeset patch # User Chong Yidong # Date 1265345376 18000 # Node ID ce00524a181d447e324dc0384bc279edbb93ab17 # Parent d9f5c24a36cb2ca9258c84cea6fcc7ecf5bbf930 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). diff -r d9f5c24a36cb -r ce00524a181d lisp/ChangeLog --- a/lisp/ChangeLog Thu Feb 04 23:21:11 2010 -0500 +++ b/lisp/ChangeLog Thu Feb 04 23:49:36 2010 -0500 @@ -1,3 +1,8 @@ +2010-02-05 Chong Yidong + + * startup.el (command-line-1): Convert options beginning with a + single dash as well (Bug#5519). + 2010-02-05 Stefan Monnier Make `initials' completion work for /hh -> /home/horn again (bug#5524). diff -r d9f5c24a36cb -r ce00524a181d lisp/startup.el --- a/lisp/startup.el Thu Feb 04 23:21:11 2010 -0500 +++ b/lisp/startup.el Thu Feb 04 23:49:36 2010 -0500 @@ -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))