Commit 6554a5df authored by Chong Yidong's avatar Chong Yidong
Browse files

* net/mairix.el (mairix-widget-send-query): Send -1 instead of nil

to mairix-search to suppress threading (Bug#5342).
parent 67f6e72b
2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
* net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
to mairix-search to suppress threading (Bug#5342).
2010-01-15 Kenichi Handa <handa@m17n.org>
* international/mule-cmds.el (canonicalize-coding-system-name):
......
......@@ -341,7 +341,7 @@ Currently there are 'threads and 'flags.")
(defun mairix-search (search threads)
"Call Mairix with SEARCH.
If THREADS is t, also display whole threads of found
If THREADS is non-nil, also display whole threads of found
messages. Results will be put into the default search file."
(interactive
(list
......@@ -595,9 +595,7 @@ See %s for details" mairix-output-buffer)))
"Send query from WIDGETS to mairix binary."
(mairix-search
(mairix-widget-make-query-from-widgets widgets)
(if (widget-value (cadr (assoc "Threads" widgets)))
t
-1))
(if (widget-value (cadr (assoc "Threads" widgets))) t))
(kill-buffer mairix-customize-query-buffer))
(defun mairix-widget-save-search (widgets)
......
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