* lisp/ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p.
Fixes: debbugs:11145
This commit is contained in:
committed by
Stefan Monnier
parent
305d9f44b0
commit
b4243e226b
@@ -1,3 +1,8 @@
|
||||
2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
|
||||
|
||||
* ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
|
||||
(bug#11145).
|
||||
|
||||
2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* comint.el (comint--common-quoted-suffix): Check string boundary
|
||||
|
||||
@@ -3269,7 +3269,7 @@ for first matching file."
|
||||
(while filenames
|
||||
(setq filename (car filenames)
|
||||
filenames (cdr filenames))
|
||||
(if (and (string-match "^/" filename)
|
||||
(if (and (file-name-absolute-p filename)
|
||||
(file-exists-p filename))
|
||||
(setq d (file-name-directory filename)
|
||||
f (file-name-nondirectory filename)
|
||||
|
||||
Reference in New Issue
Block a user