From ff07e0ac40be03f60ebf675e10eb38491c4f95b6 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 16 Oct 2006 12:42:24 +0000 Subject: [PATCH] (ido-reread-directory): Work in `dir' mode too. --- lisp/ido.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5