Commit 1736ad36 authored by Julien Danjou's avatar Julien Danjou Committed by Katsumi Yamaoka
Browse files

nnir.el (nnir-read-parm): Fix call to gnus-completing-read.

parent afba0c4b
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.
 
......
......@@ -376,7 +376,7 @@ result, `gnus-retrieve-headers' will be called instead.")
(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
......@@ -1579,7 +1579,7 @@ Tested with Namazu 2.0.6 on a GNU/Linux system."
(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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment