Revert wl-score-put-alike.
authorkaoru <kaoru>
Fri, 1 Jan 2010 13:17:07 +0000 (13:17 +0000)
committerkaoru <kaoru>
Fri, 1 Jan 2010 13:17:07 +0000 (13:17 +0000)
wl/ChangeLog
wl/wl-score.el

index d5672ed..4b4f590 100644 (file)
@@ -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.
index eef13fc..aa90570 100644 (file)
@@ -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))