From 293bd0d95a2535ce2bd38d3bd5f248860bf3dcff Mon Sep 17 00:00:00 2001 From: murata Date: Wed, 23 Aug 2000 14:33:02 +0000 Subject: [PATCH] (wl-folder-open-all): Remove progress gauge when display is finished. --- wl/wl-folder.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wl/wl-folder.el b/wl/wl-folder.el index 7fd035c..533ba8c 100644 --- a/wl/wl-folder.el +++ b/wl/wl-folder.el @@ -2359,7 +2359,10 @@ Entering Folder mode calls the value of `wl-folder-mode-hook'." (if (or (zerop (% i 5)) (= i len)) (elmo-display-progress 'wl-folder-open-all "Opening all folders..." - (/ (* i 100) len))))))) + (/ (* i 100) len))))) + (when (> len elmo-display-progress-threshold) + (elmo-display-progress + 'wl-folder-open-all "Opening all folders..." 100)))) (message "Opening all folders...done.") (set-buffer-modified-p nil))) -- 1.7.10.4