* ido.el (ido-read-internal): Fix bug#14620.
This commit is contained in:
parent
fa55d2aaa2
commit
6c6268c83d
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-06-24 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* ido.el (ido-read-internal): Fix bug#14620.
|
||||
|
||||
2013-06-23 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* faces.el (face-documentation): Simplify.
|
||||
|
|
|
@ -2141,9 +2141,9 @@ If INITIAL is non-nil, it specifies the initial input string."
|
|||
done t)
|
||||
(setq ido-set-default-item t)))
|
||||
|
||||
((or (string-match "[/\\][^/\\]" ido-selected)
|
||||
(and (memq system-type '(windows-nt ms-dos))
|
||||
(string-match "\\`[a-zA-Z]:" ido-selected)))
|
||||
((if (memq system-type '(windows-nt ms-dos))
|
||||
(string-match "\\`[a-zA-Z]:\\|[\\][^\\]" ido-selected)
|
||||
(string-match "/[^/]" ido-selected))
|
||||
(ido-set-current-directory (file-name-directory ido-selected))
|
||||
(setq ido-set-default-item t))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue