Mercurial > emacs
comparison lisp/ido.el @ 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 | 22f24dad9952 |
children | 36f23fcd07f8 7eeafaaa9eab |
comparison
equal
deleted
inserted
replaced
73387:fc4c534e52c3 | 73388:98bbab587745 |
---|---|
2609 (defun ido-reread-directory () | 2609 (defun ido-reread-directory () |
2610 "Read current directory again. | 2610 "Read current directory again. |
2611 May be useful if cached version is no longer valid, but directory | 2611 May be useful if cached version is no longer valid, but directory |
2612 timestamp has not changed (e.g. with ftp or on Windows)." | 2612 timestamp has not changed (e.g. with ftp or on Windows)." |
2613 (interactive) | 2613 (interactive) |
2614 (if (and ido-mode (eq ido-cur-item 'file)) | 2614 (if (and ido-mode (memq ido-cur-item '(file dir))) |
2615 (progn | 2615 (progn |
2616 (if (ido-is-unc-root) | 2616 (if (ido-is-unc-root) |
2617 (setq ido-unc-hosts-cache t) | 2617 (setq ido-unc-hosts-cache t) |
2618 (ido-remove-cached-dir ido-current-directory)) | 2618 (ido-remove-cached-dir ido-current-directory)) |
2619 (setq ido-text-init ido-text) | 2619 (setq ido-text-init ido-text) |