From: Kim F. Storm Date: Mon, 16 Oct 2006 12:42:24 +0000 (+0000) Subject: (ido-reread-directory): Work in `dir' mode too. X-Git-Tag: emacs-pretest-22.0.90~111 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff07e0ac40be03f60ebf675e10eb38491c4f95b6;p=emacs.git (ido-reread-directory): Work in `dir' mode too. --- 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)