* wl-summary.el (wl-summary-goto-folder-subr): Rescan if
scan-type is rescan.
- (wl-summary-delete-all-temp-marks): Remove scored mark too.
+ (wl-summary-delete-all-temp-marks): Remove scored mark too when
+ new optional argument force is non-nil.
+ (wl-summary-save-view-cache): Call it with force argument non-nil.
* wl-action.el (wl-summary-unset-mark): Added optional argument FORCE.
'update nil nil t)
(run-hooks 'wl-summary-virtual-hook)))
-(defun wl-summary-delete-all-temp-marks (&optional no-msg)
+(defun wl-summary-delete-all-temp-marks (&optional no-msg force)
"Erase all temp marks from buffer."
(interactive)
(when (or wl-summary-buffer-target-mark-list
(unless no-msg
(message "Unmarking..."))
(while (not (eobp))
- (wl-summary-unset-mark nil nil t)
+ (wl-summary-unset-mark nil nil force)
(forward-line 1))
(unless no-msg
(message "Unmarking...done"))
wl-summary-buffer-target-mark-list mark-list
wl-summary-buffer-temp-mark-list temp-list
wl-summary-buffer-temp-mark-column temp-column)
- (wl-summary-delete-all-temp-marks 'no-msg)
+ (wl-summary-delete-all-temp-marks 'no-msg 'force)
(encode-coding-region
(point-min) (point-max)
(or (and wl-on-mule