1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00

2006-10-15 Michaël Cadilhac <michael.cadilhac@lrde.org>

(ido-exhibit): Allow `-', `_', and trailing `$' in user id.
This commit is contained in:
Kim F. Storm 2006-10-15 20:33:12 +00:00
parent c5ae030510
commit 1c36d72a5a

View 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))