* nnir-add-result macro broken
@ 2008-05-08 8:34 Andreas Schwab
2008-05-08 18:12 ` Reiner Steib
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2008-05-08 8:34 UTC (permalink / raw)
To: ding
This fixes the nnir-add-result macro to properly substitute the
parameters.
Andreas.
2008-05-08 Andreas Schwab <schwab@suse.de>
* nnir.el (nnir-add-result): Properly substitute the parameters.
--- contrib/nnir.el.~7.31.~ 2008-05-08 10:27:00.000000000 +0200
+++ contrib/nnir.el 2008-05-08 10:31:38.000000000 +0200
@@ -849,9 +849,9 @@ and show thread that contains this artic
(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")
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nnir-add-result macro broken
2008-05-08 8:34 nnir-add-result macro broken Andreas Schwab
@ 2008-05-08 18:12 ` Reiner Steib
0 siblings, 0 replies; 2+ messages in thread
From: Reiner Steib @ 2008-05-08 18:12 UTC (permalink / raw)
To: ding
On Thu, May 08 2008, Andreas Schwab wrote:
> 2008-05-08 Andreas Schwab <schwab@suse.de>
>
> * nnir.el (nnir-add-result): Properly substitute the parameters.
Installed. Thanks.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-08 18:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-08 8:34 nnir-add-result macro broken Andreas Schwab
2008-05-08 18:12 ` Reiner Steib
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).