emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99338: * net/mairix.el (mairix-widge


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99338: * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
Date: Fri, 15 Jan 2010 11:55:43 -0500
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 99338
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Fri 2010-01-15 11:55:43 -0500
message:
  * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
  to mairix-search to suppress threading (Bug#5342).
modified:
  lisp/ChangeLog
  lisp/net/mairix.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-01-15 12:40:13 +0000
+++ b/lisp/ChangeLog    2010-01-15 16:55:43 +0000
@@ -1,3 +1,8 @@
+2010-01-15   David Abrahams  <address@hidden>  (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  <address@hidden>
 
        * international/mule-cmds.el (canonicalize-coding-system-name):

=== modified file 'lisp/net/mairix.el'
--- a/lisp/net/mairix.el        2010-01-13 08:35:10 +0000
+++ b/lisp/net/mairix.el        2010-01-15 16:55:43 +0000
@@ -341,7 +341,7 @@
 
 (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 @@
   "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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]