* wl-message.el (wl-normal-message-redisplay): Set `wl-message-cache-used'.
authorteranisi <teranisi>
Wed, 14 Mar 2001 08:19:00 +0000 (08:19 +0000)
committerteranisi <teranisi>
Wed, 14 Mar 2001 08:19:00 +0000 (08:19 +0000)
wl/ChangeLog
wl/wl-message.el

index 412808d..1099fca 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-14  Yuuichi Teranishi  <teranisi@gohome.org>
+
+       * wl-message.el (wl-normal-message-redisplay):
+       Set `wl-message-cache-used'.
+
 2001-03-13  OKAZAKI Tetsurou  <okazaki@be.to>
 
        * wl-summary.el (wl-summary-mode): Use `make-local-hook' instead
index 297e4a3..0d36a10 100644 (file)
          (setq buffer-read-only nil)
          (erase-buffer)
          (if (or (eq (elmo-folder-number-get-type folder number) 'localdir)
-                 (not (and (integerp size)
+                 (not (and (not 
+                            (setq wl-message-cache-used
+                                 (or
+                                  (elmo-buffer-cache-hit
+                                   (list folder number message-id))
+                                  (elmo-cache-exists-p message-id
+                                                       folder number))))
+                           (integerp size)
                            wl-fetch-confirm-threshold
                            (>= size wl-fetch-confirm-threshold)
-                           (not (elmo-cache-exists-p message-id
-                                                     folder number))
                            (not (y-or-n-p
                                  (format "Fetch entire message? (%dbytes)"
                                          size))))))