diff options
author | Kim F. Storm <storm@cua.dk> | 2006-10-15 20:33:12 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2006-10-15 20:33:12 +0000 |
commit | 1c36d72a5a69bc6e8a0e9d014814ad4bb2d47216 (patch) | |
tree | d47e0a37de03120663635659f88b169f04675d31 /lisp/ido.el | |
parent | c5ae03051002a3b7dded9014ec581d6f1ed8fe95 (diff) | |
download | emacs-1c36d72a5a69bc6e8a0e9d014814ad4bb2d47216.tar.gz |
2006-10-15 Michaƫl Cadilhac <michael.cadilhac@lrde.org>
(ido-exhibit): Allow `-', `_', and trailing `$' in user id.
Diffstat (limited to 'lisp/ido.el')
-rw-r--r-- | lisp/ido.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |