X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/35fb32880c99aa7cd41b835dc17b8639b544dc69..4628bef1eea0f60e846fe6b6591725aa92952de9:/lisp/net/mairix.el?ds=sidebyside diff --git a/lisp/net/mairix.el b/lisp/net/mairix.el index b5fb92e5c6..1974427c82 100644 --- a/lisp/net/mairix.el +++ b/lisp/net/mairix.el @@ -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)