]> git.eshelyaron.com Git - emacs.git/commitdiff
2006-10-15 Michaƫl Cadilhac <michael.cadilhac@lrde.org>
authorKim F. Storm <storm@cua.dk>
Sun, 15 Oct 2006 20:33:12 +0000 (20:33 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 15 Oct 2006 20:33:12 +0000 (20:33 +0000)
(ido-exhibit): Allow `-', `_', and trailing `$' in user id.

lisp/ido.el

index ff222b2958ce7355ff6b115c5d2aa803ec0e231c..a2c236fb10e4c957bda1aed9da5ea991ca15c696 100644 (file)
@@ -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))