Mercurial > emacs
diff lisp/ido.el @ 73388:98bbab587745
(ido-reread-directory): Work in `dir' mode too.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 16 Oct 2006 12:42:24 +0000 |
parents | 22f24dad9952 |
children | 36f23fcd07f8 7eeafaaa9eab |
line wrap: on
line diff
--- a/lisp/ido.el Mon Oct 16 12:41:37 2006 +0000 +++ b/lisp/ido.el Mon Oct 16 12:42:24 2006 +0000 @@ -2611,7 +2611,7 @@ May be useful if cached version is no longer valid, but directory timestamp has not changed (e.g. with ftp or on Windows)." (interactive) - (if (and ido-mode (eq ido-cur-item 'file)) + (if (and ido-mode (memq ido-cur-item '(file dir))) (progn (if (ido-is-unc-root) (setq ido-unc-hosts-cache t)