aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ido.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 049ef96cb08..d4c5d4fbeec 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -2514,7 +2514,7 @@ for first matching file."
2514 (when (and (or ido-rotate-temp ido-rotate-file-list-default) 2514 (when (and (or ido-rotate-temp ido-rotate-file-list-default)
2515 (> (length text) 0)) 2515 (> (length text) 0))
2516 (let ((elt (assoc text res))) 2516 (let ((elt (assoc text res)))
2517 (unless (eq elt (car res)) 2517 (when (and elt (not (eq elt (car res))))
2518 (setq res (delq elt res)) 2518 (setq res (delq elt res))
2519 (setq res (cons elt res))))) 2519 (setq res (cons elt res)))))
2520 (message nil) 2520 (message nil)