Mercurial > emacs
changeset 46270:c64c46b334d7
(ido-make-merged-file-list): Fix last change.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 09 Jul 2002 09:08:18 +0000 |
parents | cc56a3fad98f |
children | 35153dd59211 |
files | lisp/ido.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ido.el Tue Jul 09 09:05:19 2002 +0000 +++ b/lisp/ido.el Tue Jul 09 09:08:18 2002 +0000 @@ -2514,7 +2514,7 @@ (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)