From: Kim F. Storm Date: Sun, 15 Oct 2006 20:33:12 +0000 (+0000) Subject: 2006-10-15 Michaël Cadilhac X-Git-Tag: emacs-pretest-22.0.90~122 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1c36d72a5a69bc6e8a0e9d014814ad4bb2d47216;p=emacs.git 2006-10-15 Michaël Cadilhac (ido-exhibit): Allow `-', `_', and trailing `$' in user id. --- diff --git a/lisp/ido.el b/lisp/ido.el index ff222b2958c..a2c236fb10e 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -4168,7 +4168,7 @@ For details of keybindings, do `\\[describe-function] ido-find-file'." (setq refresh t)) ((string-equal contents "./") (setq refresh t)) - ((string-match "\\`~[a-zA-Z0-9]+/\\'" contents) + ((string-match "\\`~[-_a-zA-Z0-9]+[$]?/\\'" contents) (ido-trace "new home" contents) (ido-set-current-home contents) (setq refresh t))