summaryrefslogtreecommitdiff
path: root/lisp/ido.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ido.el')
-rw-r--r--lisp/ido.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 0e74cbc7a2d..7b9cf074c92 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -1882,6 +1882,7 @@ If INITIAL is non-nil, it specifies the initial input string."
ido-selected
ido-final-text
(done nil)
+ (non-essential t) ;; prevent eager Tramp connection
(icomplete-mode nil) ;; prevent icomplete starting up
;; Exported dynamic variables:
ido-cur-list
@@ -3504,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))