Merge from trunk:
authoryoichi <yoichi>
Tue, 14 Jan 2003 14:11:05 +0000 (14:11 +0000)
committeryoichi <yoichi>
Tue, 14 Jan 2003 14:11:05 +0000 (14:11 +0000)
* wl-summary.el (wl-summary-exec-subr): Unset wl-message-buffer if
it is not up-tp-date.

wl/ChangeLog
wl/wl-summary.el

index 4a6a980..faac845 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
+
+       * wl-summary.el (wl-summary-exec-subr): Unset wl-message-buffer if
+       it is not up-tp-date.
+
 2003-01-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
 
        Merge from trunk:
index 77fc39f..24ad93a 100644 (file)
@@ -3119,11 +3119,13 @@ If optional argument NUMBER is specified, mark message specified by NUMBER."
        (wl-summary-set-message-modified)
        (wl-summary-set-mark-modified)
        (run-hooks 'wl-summary-exec-hook)
+       ;; message buffer is not up-to-date
        (unless (and wl-message-buffer
                     (eq (wl-summary-message-number)
                         (with-current-buffer wl-message-buffer
                           wl-message-buffer-cur-number)))
-         (wl-summary-toggle-disp-msg 'off))
+         (wl-summary-toggle-disp-msg 'off)
+         (setq wl-message-buffer nil))
        (set-buffer-modified-p nil)
        (message (concat "Executing...done"
                         (if (> refile-failures 0)