* ido.el (ido-read-internal): Allow forward slash on windows.

This commit is contained in:
Leo Liu 2013-06-25 09:04:06 +08:00
parent e31106e80a
commit f42d8237f7
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2013-06-25 Leo Liu <sdl.web@gmail.com>
* ido.el (ido-read-internal): Allow forward slash on windows.
2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/eww.el (eww): Start of strings is \\`, not ^.

View file

@ -2142,8 +2142,9 @@ If INITIAL is non-nil, it specifies the initial input string."
(setq ido-set-default-item t)))
((string-match (if (memq system-type '(windows-nt ms-dos))
"\\`[a-zA-Z]:\\|[\\][^\\]"
"/[^/]") ido-selected)
"\\`[a-zA-Z]:\\|[/\\][^/\\]"
"/[^/]")
ido-selected)
(ido-set-current-directory (file-name-directory ido-selected))
(setq ido-set-default-item t))