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, 1 insertions, 2 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index e18464d1d6b..561d6e7f081 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -2541,7 +2541,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 (res)
+ (let (non-essential res)
(cond
(ido-incomplete-regexp
;; Do nothing
@@ -3556,7 +3556,6 @@ it is put to the start of the list."
;; Strip method:user@host: part of tramp completions.
;; Tramp completions do not include leading slash.
(let* ((len (1- (length dir)))
- (non-essential t)
(compl
(or ;; We do not want to be disturbed by "File does not
;; exist" errors.