+2004-06-12 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * wl-draft.el (wl-draft-config-exec): Narrow the range of
+ save-excursion so as not to include run-hooks.
+
2004-06-11 Yoichi NAKAYAMA <yoichi@geiin.org>
* wl-summary.el (wl-summary-cleanup-temp-marks): defsubst->defun.
(setq found t)))
(if (and found wl-draft-config-matchone)
(throw 'done t))
- (setq alist (cdr alist))))
- (if found
- (setq wl-draft-config-exec-flag nil))
- (run-hooks 'wl-draft-config-exec-hook)
- (put-text-property (point-min)(point-max) 'face nil)
- (wl-highlight-message (point-min)(point-max) t)
- (setq wl-draft-config-variables
- (elmo-uniq-list local-variables))))))
+ (setq alist (cdr alist)))))
+ (if found
+ (setq wl-draft-config-exec-flag nil))
+ (run-hooks 'wl-draft-config-exec-hook)
+ (put-text-property (point-min)(point-max) 'face nil)
+ (wl-highlight-message (point-min)(point-max) t)
+ (setq wl-draft-config-variables
+ (elmo-uniq-list local-variables)))))
(defun wl-draft-replace-field (field content &optional add)
(save-excursion