summaryrefslogtreecommitdiff
path: root/lisp/ido.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2016-12-19 09:32:30 +0100
committerMichael Albinus <michael.albinus@gmx.de>2016-12-19 09:32:30 +0100
commit516b4c389ab7221726ac675bb7659476eae7ae35 (patch)
tree8d2a0e6db31e5968323d627e59c644ce94574ed8 /lisp/ido.el
parent5d1d00c34123aad92cffd913152987de05c5e713 (diff)
downloademacs-516b4c389ab7221726ac675bb7659476eae7ae35.tar.gz
Fix Bug#24980
* lisp/ido.el (ido-add-virtual-buffers-to-list): Suppress Tramp invocation. (Bug#24980)
Diffstat (limited to 'lisp/ido.el')
-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))