* wl-summary.el (wl-cache-prefetch-next): Revert the logic for checking
authorteranisi <teranisi>
Tue, 30 Jan 2001 00:41:55 +0000 (00:41 +0000)
committerteranisi <teranisi>
Tue, 30 Jan 2001 00:41:55 +0000 (00:41 +0000)
 `elmo-use-buffer-cache'.
(wl-summary-mark-as-important): Fixed typo in comment.

wl/ChangeLog
wl/wl-summary.el

index e8080ac..adf87dd 100644 (file)
@@ -1,3 +1,9 @@
+2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
+
+       * wl-summary.el (wl-cache-prefetch-next): Revert the logic
+       for checking `elmo-use-buffer-cache'.
+       (wl-summary-mark-as-important): Fixed typo in comment.
+
 2001-01-29  Katsumi Yamaoka    <yamaoka@jpl.org>
 
        * wl-message.el (wl-message-next-page): Bind
index 6dbd833..0b83b9f 100644 (file)
@@ -4300,7 +4300,7 @@ If ARG, exit virtual folder."
                  (unless no-server-update
                    (elmo-unmark-important folder (list number) msgdb)
                    (elmo-msgdb-global-mark-delete message-id))
-                 ;; Remove cache if local it is folder.
+                 ;; Remove cache if local folder.
                  (if (elmo-folder-local-p folder)
                      (elmo-cache-delete message-id folder number))
                  (when visible
@@ -5979,7 +5979,7 @@ Use function list is `wl-summary-write-current-folder-functions'."
 
 (defun wl-cache-prefetch-next (fld msg &optional summary)
   (if (wl-cache-prefetch-p fld)
-      (if (not elmo-use-buffer-cache)
+      (if elmo-use-buffer-cache
 ;;;      (message "`elmo-use-buffer-cache' is nil, cache prefetch is disable.")
        (save-excursion
          (set-buffer (or summary (get-buffer wl-summary-buffer-name)))