From 516b4c389ab7221726ac675bb7659476eae7ae35 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 19 Dec 2016 09:32:30 +0100 Subject: [PATCH] Fix Bug#24980 * lisp/ido.el (ido-add-virtual-buffers-to-list): Suppress Tramp invocation. (Bug#24980) --- lisp/ido.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2