# HG changeset patch # User Kim F. Storm # Date 1161002544 0 # Node ID 98bbab5877458fe142c4096b6b74c0400f2f4124 # Parent fc4c534e52c3f202193b60d1280e76678e8d6d63 (ido-reread-directory): Work in `dir' mode too. diff -r fc4c534e52c3 -r 98bbab587745 lisp/ido.el --- 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)