changeset 74654:a82d50e19590

(ido-toggle-ignore, ido-completion-help): Print message while reading big directory.
author Kim F. Storm <storm@cua.dk>
date Sat, 16 Dec 2006 01:34:10 +0000
parents 37ee2c8294fe
children 5d3a0349d385
files lisp/ido.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ido.el	Sat Dec 16 01:33:58 2006 +0000
+++ b/lisp/ido.el	Sat Dec 16 01:34:10 2006 +0000
@@ -2589,7 +2589,9 @@
   "Toggle ignoring files specified with `ido-ignore-files'."
   (interactive)
   (if ido-directory-too-big
-      (setq ido-directory-too-big nil)
+      (progn
+	(message "Reading directory...")
+	(setq ido-directory-too-big nil))
     (setq ido-process-ignore-lists (not ido-process-ignore-lists)))
   (setq ido-text-init ido-text)
   (setq ido-exit 'refresh)
@@ -3744,6 +3746,7 @@
 	  (let ((completion-list (sort
 				  (cond
 				   (ido-directory-too-big
+				    (message "Reading directory...")
 				    (setq ido-directory-too-big nil
 					  ido-ignored-list nil
 					  ido-cur-list (ido-all-completions)