changeset 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 fc4c534e52c3
children 7b5c0104efb0
files lisp/ido.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)