summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ido.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 9df89c9fb61..7b9cf074c92 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -3505,7 +3505,7 @@ This is to make them appear as if they were \"virtual buffers\"."
(when (equal name "")
(setq name head))
(and (not (equal name ""))
- (null (get-file-buffer head))
+ (null (let (file-name-handler-alist) (get-file-buffer head)))
(not (assoc name ido-virtual-buffers))
(not (member name ido-temp-list))
(not (ido-ignore-item-p name ido-ignore-buffers))