From 4e85a733532dfb6743601ddb63ae7e9ef3cad418 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 9 Jul 2002 09:08:18 +0000 Subject: [PATCH] (ido-make-merged-file-list): Fix last change. --- lisp/ido.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." (when (and (or ido-rotate-temp ido-rotate-file-list-default) (> (length text) 0)) (let ((elt (assoc text res))) - (unless (eq elt (car res)) + (when (and elt (not (eq elt (car res)))) (setq res (delq elt res)) (setq res (cons elt res))))) (message nil) -- 2.39.5