From: murata Date: Wed, 23 Aug 2000 14:33:02 +0000 (+0000) Subject: (wl-folder-open-all): Remove progress gauge when display is finished. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=293bd0d95a2535ce2bd38d3bd5f248860bf3dcff;p=elisp%2Fwanderlust.git (wl-folder-open-all): Remove progress gauge when display is finished. --- 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)))