From: teranisi Date: Tue, 30 May 2000 00:59:44 +0000 (+0000) Subject: (wl-folder-prefetch-entity): Execute prefetching if new count is unknown. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7734d26d0bc179ef02dbd77d2e9e95c87ad5bd75;p=elisp%2Fwanderlust.git (wl-folder-prefetch-entity): Execute prefetching if new count is unknown. --- diff --git a/wl/wl-folder.el b/wl/wl-folder.el index 29ae754..50aa0c7 100644 --- a/wl/wl-folder.el +++ b/wl/wl-folder.el @@ -4,7 +4,7 @@ ;; Author: Yuuichi Teranishi ;; Keywords: mail, net news -;; Time-stamp: <00/04/28 14:26:38 teranisi> +;; Time-stamp: <2000-05-30 09:33:02 teranisi> ;; This file is part of Wanderlust (Yet Another Message Interface on Emacsen). @@ -2551,7 +2551,8 @@ Entering Folder mode calls the value of `wl-folder-mode-hook'." count) (setq count (or (car nums) 0)) (setq count (+ count (wl-folder-count-incorporates entity))) - (if (< 0 count) + (if (or (null (car nums)) ; unknown + (< 0 count)) (save-window-excursion (save-excursion (wl-summary-goto-folder-subr entity