(nnir-add-result): Properly substitute the parameters.
authorReiner Steib <Reiner.Steib@gmx.de>
Thu, 15 May 2008 20:11:34 +0000 (20:11 +0000)
committerReiner Steib <Reiner.Steib@gmx.de>
Thu, 15 May 2008 20:11:34 +0000 (20:11 +0000)
contrib/ChangeLog
contrib/nnir.el

index e1d444e..7ab7627 100644 (file)
@@ -1,4 +1,4 @@
-2008-05-08  Andreas Schwab  <schwab@suse.de>
+2008-05-15  Andreas Schwab  <schwab@suse.de>
 
        * nnir.el (nnir-add-result): Properly substitute the parameters.
 
index 8b106df..a0f0408 100644 (file)
@@ -849,9 +849,9 @@ and show thread that contains this article."
 (defmacro nnir-add-result (dirnam artno score prefix server artlist)
   "Ask `nnir-compose-result' to construct a result vector, 
 and if it is non-nil, add it to artlist."
-  `(let ((result (nnir-compose-result dirnam artno score prefix server)))
+  `(let ((result (nnir-compose-result ,dirnam ,artno ,score ,prefix ,server)))
      (when (not (null result))
-       (push result artlist))))
+       (push result ,artlist))))
 
 (autoload 'nnmaildir-base-name-to-article-number "nnmaildir")