* wl-summary.el (wl-summary-mark-as-important): Remove cache if folder
authorteranisi <teranisi>
Fri, 15 Dec 2000 05:29:08 +0000 (05:29 +0000)
committerteranisi <teranisi>
Fri, 15 Dec 2000 05:29:08 +0000 (05:29 +0000)
 is local.

wl/ChangeLog
wl/wl-summary.el

index 2f4a4ab..82a344e 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
+
+       * wl-summary.el (wl-summary-mark-as-important):
+       Remove cache if folder is local.
+
 2000-12-06  Taro Kawagishi <taro.kawagishi@nokia.com>
 
        * wl-summary.el (wl-summary-edit-addresses-subr): Call `try-completion'
index 38f92da..fb81609 100644 (file)
@@ -4337,6 +4337,9 @@ 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.
+                 (if (elmo-folder-local-p folder)
+                     (elmo-cache-delete message-id folder number))
                  (when visible
                    (delete-region (match-beginning 2) (match-end 2))
                    (insert " "))