diff options
| author | Chong Yidong | 2010-01-15 11:55:43 -0500 |
|---|---|---|
| committer | Chong Yidong | 2010-01-15 11:55:43 -0500 |
| commit | 6554a5df3a807911922673bc46b1b74fb16c6087 (patch) | |
| tree | 7d89c25efd128165d037fd0faa64aab07b39663e | |
| parent | 67f6e72bd3655d4f0a90d42dd6e49fc71e936fff (diff) | |
| download | emacs-6554a5df3a807911922673bc46b1b74fb16c6087.tar.gz emacs-6554a5df3a807911922673bc46b1b74fb16c6087.zip | |
* net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
to mairix-search to suppress threading (Bug#5342).
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/net/mairix.el | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b0cdf71dab4..9e08889ba61 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change) | ||
| 2 | |||
| 3 | * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil | ||
| 4 | to mairix-search to suppress threading (Bug#5342). | ||
| 5 | |||
| 1 | 2010-01-15 Kenichi Handa <handa@m17n.org> | 6 | 2010-01-15 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * international/mule-cmds.el (canonicalize-coding-system-name): | 8 | * international/mule-cmds.el (canonicalize-coding-system-name): |
diff --git a/lisp/net/mairix.el b/lisp/net/mairix.el index b5fb92e5c6f..1974427c829 100644 --- a/lisp/net/mairix.el +++ b/lisp/net/mairix.el | |||
| @@ -341,7 +341,7 @@ Currently there are 'threads and 'flags.") | |||
| 341 | 341 | ||
| 342 | (defun mairix-search (search threads) | 342 | (defun mairix-search (search threads) |
| 343 | "Call Mairix with SEARCH. | 343 | "Call Mairix with SEARCH. |
| 344 | If THREADS is t, also display whole threads of found | 344 | If THREADS is non-nil, also display whole threads of found |
| 345 | messages. Results will be put into the default search file." | 345 | messages. Results will be put into the default search file." |
| 346 | (interactive | 346 | (interactive |
| 347 | (list | 347 | (list |
| @@ -595,9 +595,7 @@ See %s for details" mairix-output-buffer))) | |||
| 595 | "Send query from WIDGETS to mairix binary." | 595 | "Send query from WIDGETS to mairix binary." |
| 596 | (mairix-search | 596 | (mairix-search |
| 597 | (mairix-widget-make-query-from-widgets widgets) | 597 | (mairix-widget-make-query-from-widgets widgets) |
| 598 | (if (widget-value (cadr (assoc "Threads" widgets))) | 598 | (if (widget-value (cadr (assoc "Threads" widgets))) t)) |
| 599 | t | ||
| 600 | -1)) | ||
| 601 | (kill-buffer mairix-customize-query-buffer)) | 599 | (kill-buffer mairix-customize-query-buffer)) |
| 602 | 600 | ||
| 603 | (defun mairix-widget-save-search (widgets) | 601 | (defun mairix-widget-save-search (widgets) |