1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/ido.el (ido-read-internal, ido-complete): Do not bind `non-essential'.

This commit is contained in:
Michael Albinus 2017-03-15 11:24:23 +01:00
parent 0cfe3ee457
commit a3207a3830

View file

@ -1882,7 +1882,6 @@ 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
@ -2541,7 +2540,7 @@ If cursor is not at the end of the user input, move to end of input."
(defun ido-complete ()
"Try and complete the current pattern amongst the file names."
(interactive)
(let (non-essential res)
(let (res)
(cond
(ido-incomplete-regexp
;; Do nothing