summaryrefslogtreecommitdiff
path: root/lisp/ido.el
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-10-16 12:42:24 +0000
committerKim F. Storm <storm@cua.dk>2006-10-16 12:42:24 +0000
commitff07e0ac40be03f60ebf675e10eb38491c4f95b6 (patch)
treecd2b07f2d116305fdb448208438aa0f0593040f4 /lisp/ido.el
parent80f6025cb01e27c1b44d69e33052a1d843327514 (diff)
downloademacs-ff07e0ac40be03f60ebf675e10eb38491c4f95b6.tar.gz
(ido-reread-directory): Work in `dir' mode too.
Diffstat (limited to 'lisp/ido.el')
-rw-r--r--lisp/ido.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index a2c236fb10e..480b76cd68c 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -2611,7 +2611,7 @@ C-x C-f ... C-d enter dired on current directory."
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)