changeset 73376:22f24dad9952

2006-10-15 Micha¸«³l Cadilhac <michael.cadilhac@lrde.org> (ido-exhibit): Allow `-', `_', and trailing `$' in user id.
author Kim F. Storm <storm@cua.dk>
date Sun, 15 Oct 2006 20:33:12 +0000
parents 7f5141d05971
children 3437ebb999f0
files lisp/ido.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))