From 1c36d72a5a69bc6e8a0e9d014814ad4bb2d47216 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Sun, 15 Oct 2006 20:33:12 +0000 Subject: [PATCH] =?utf8?q?2006-10-15=20=20Micha=C3=ABl=20Cadilhac=20=20=20(ido-exhibit):=20Allow=20`-',=20`=5F'?= =?utf8?q?,=20and=20trailing=20`$'=20in=20user=20id.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lisp/ido.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5