# HG changeset patch # User Kim F. Storm # Date 1160944392 0 # Node ID 22f24dad9952c2b7f563c82b3dcba6e6e5a5dae0 # Parent 7f5141d059715a40ab72d2c65b13f40c8811e27f 2006-10-15 Micha¸«³l Cadilhac (ido-exhibit): Allow `-', `_', and trailing `$' in user id. diff -r 7f5141d05971 -r 22f24dad9952 lisp/ido.el --- a/lisp/ido.el Sun Oct 15 20:32:52 2006 +0000 +++ b/lisp/ido.el Sun Oct 15 20:33:12 2006 +0000 @@ -4168,7 +4168,7 @@ (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))