summaryrefslogtreecommitdiff
path: root/lisp/ido.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ido.el')
-rw-r--r--lisp/ido.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 2e2aca3126e..4409c3653c9 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -1793,7 +1793,7 @@ If INITIAL is non-nil, it specifies the initial input string."
(ido-name (car ido-matches))))
(cond
- ((eq item 'buffer)
+ ((memq item '(buffer list))
(setq done t))
((string-equal "./" ido-selected)