(wl-folder-open-all): Remove progress gauge when display is finished.
authormurata <murata>
Wed, 23 Aug 2000 14:33:02 +0000 (14:33 +0000)
committermurata <murata>
Wed, 23 Aug 2000 14:33:02 +0000 (14:33 +0000)
wl/wl-folder.el

index 7fd035c..533ba8c 100644 (file)
@@ -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)))