From 19db56e4921ca3e2366792b46d5f5b5052d27a86 Mon Sep 17 00:00:00 2001 From: kaoru Date: Fri, 1 Jan 2010 13:17:07 +0000 Subject: [PATCH] Revert wl-score-put-alike. --- wl/ChangeLog | 4 ++-- wl/wl-score.el | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wl/ChangeLog b/wl/ChangeLog index d5672ed..4b4f590 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -4,8 +4,8 @@ (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. + * wl-score.el (wl-score-get-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. diff --git a/wl/wl-score.el b/wl/wl-score.el index eef13fc..aa90570 100644 --- a/wl/wl-score.el +++ b/wl/wl-score.el @@ -538,10 +538,10 @@ Set `wl-score-cache' nil." (setq extras (cdr extras))) nil)) -(defsubst wl-score-put-alike () - (elmo-set-hash-val (format "#%d" (wl-count-lines)) - alike - wl-score-alike-hashtb)) +(defmacro 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)) -- 1.7.10.4