2010-01-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
+ * wl-draft.el (wl-draft-config-body-goto-header)
+ (wl-draft-body-goto-top, wl-draft-body-goto-bottom): Change from
+ macro to function.
+
* wl-score.el (wl-score-get-alike, wl-score-put-alike): Change
from macro to inline-function.
(goto-char (point-max))
buffer))
-(defmacro wl-draft-body-goto-top ()
- `(progn
- (goto-char (point-min))
- (if (re-search-forward mail-header-separator nil t)
- (forward-char 1)
- (goto-char (point-max)))))
-
-(defmacro wl-draft-body-goto-bottom ()
- `(goto-char (point-max)))
-
-(defmacro wl-draft-config-body-goto-header ()
- `(progn
- (goto-char (point-min))
- (if (re-search-forward mail-header-separator nil t)
- (beginning-of-line)
- (goto-char (point-max)))))
+(defun wl-draft-body-goto-top ()
+ (goto-char (point-min))
+ (if (re-search-forward mail-header-separator nil t)
+ (forward-char 1)
+ (goto-char (point-max))))
+
+(defun wl-draft-body-goto-bottom ()
+ (goto-char (point-max)))
+
+(defun wl-draft-config-body-goto-header ()
+ (goto-char (point-min))
+ (if (re-search-forward mail-header-separator nil t)
+ (beginning-of-line)
+ (goto-char (point-max))))
(defsubst wl-draft-config-sub-eval-insert (content &optional newline)
(let (content-value)