From: Andreas Schwab <schwab@suse.de>
To: ding@gnus.org
Subject: nnir-add-result macro broken
Date: Thu, 08 May 2008 10:34:07 +0200 [thread overview]
Message-ID: <jey76lyz28.fsf@sykes.suse.de> (raw)
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."
next reply other threads:[~2008-05-08 8:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-08 8:34 Andreas Schwab [this message]
2008-05-08 18:12 ` Reiner Steib
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jey76lyz28.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).