summaryrefslogtreecommitdiff
path: root/lisp/ido.el
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-10-15 20:33:12 +0000
committerKim F. Storm <storm@cua.dk>2006-10-15 20:33:12 +0000
commit1c36d72a5a69bc6e8a0e9d014814ad4bb2d47216 (patch)
treed47e0a37de03120663635659f88b169f04675d31 /lisp/ido.el
parentc5ae03051002a3b7dded9014ec581d6f1ed8fe95 (diff)
downloademacs-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.el2
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))