From: Michael Albinus Date: Mon, 19 Dec 2016 08:32:30 +0000 (+0100) Subject: Fix Bug#24980 X-Git-Tag: emacs-26.0.90~1053 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=516b4c389ab7221726ac675bb7659476eae7ae35;p=emacs.git Fix Bug#24980 * lisp/ido.el (ido-add-virtual-buffers-to-list): Suppress Tramp invocation. (Bug#24980) --- 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))