2010-01-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
+ * wl-score.el (wl-score-get-alike, wl-score-put-alike): Change
+ from macro to inline-function.
+
* wl-util.el (wl-collect-summary, wl-kill-buffers): Use `mapc'
instead of `mapcar'. Don't use `function' for lambda.
(wl-read-search-condition-internal): Don't use `function' for
(setq extras (cdr extras)))
nil))
-(defmacro wl-score-put-alike ()
- '(elmo-set-hash-val (format "#%d" (wl-count-lines))
- alike
- wl-score-alike-hashtb))
-
-(defmacro wl-score-get-alike ()
- '(elmo-get-hash-val (format "#%d" (wl-count-lines))
- wl-score-alike-hashtb))
+(defsubst wl-score-put-alike ()
+ (elmo-set-hash-val (format "#%d" (wl-count-lines))
+ alike
+ wl-score-alike-hashtb))
+
+(defsubst wl-score-get-alike ()
+ (elmo-get-hash-val (format "#%d" (wl-count-lines))
+ wl-score-alike-hashtb))
(defun wl-score-insert-header (header messages &optional extra-header)
(let ((mime-decode (nth 3 (assoc header wl-score-header-index)))