2010-10-09 Julien Danjou <julien@danjou.info>
+ * nnir.el (nnir-read-parm): Fix call to gnus-completing-read.
+
* gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when
retrieving gravatars.
(imap nnir-run-imap
((criteria
"Search in: " ; Prompt
- ,nnir-imap-search-arguments ; alist for completing
+ ,(mapcar 'car nnir-imap-search-arguments) ; alist for completing
nil ; no filtering
nil ; allow any user input
nil ; initial value
(let ((sym (car parmspec))
(prompt (cdr parmspec)))
(if (listp prompt)
- (let* ((result (gnus-completing-read prompt nil))
+ (let* ((result (apply 'gnus-completing-read prompt))
(mapping (or (assoc result nnir-imap-search-arguments)
(assoc nil nnir-imap-search-arguments))))
(cons sym (format (cdr mapping) result)))