* wl.el (wl-save): Call `wl-save-hook'.
2001-01-27 TAKAHASHI Kaoru <kaoru@kaisei.org>
+ * wl-vars.el (wl-save-hook): New hook.
+ * wl.el (wl-save): Call `wl-save-hook'.
+
+2001-01-27 TAKAHASHI Kaoru <kaoru@kaisei.org>
+
* wl-draft.el (wl-draft-reply-list-symbol): Remove FROM argument.
Argument WITH-ARG instead of NO-ARG (negative mean).
(wl-draft-reply): WITH-ARG instead of NO-ARG.
"A hook called when header is highlighted.")
(defvar wl-highlight-message-hook nil
"A hook called when message is highlighted.")
+(defvar wl-save-hook nil
+ "A hook called when save summary and folder status.")
(defvar wl-exit-hook nil
"A hook called when exit wanderlust.")
(defvar wl-folder-suspend-hook nil
(defun wl-save ()
"Save summary and folder status."
(interactive)
- (wl-save-status 'keep-summary))
+ (wl-save-status 'keep-summary)
+ (run-hooks 'wl-save-hook))
(defun wl-save-status (&optional keep-summary)
(message "Saving summary and folder status...")