summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Semyonov <cmstr@dsemy.com>2021-05-01 17:03:07 +0300
committerEli Zaretskii <eliz@gnu.org>2021-05-15 11:12:00 +0300
commitb00796ee36bb2ecc9a853ef97e4b7f8174e4e3b8 (patch)
treeddc8f9a0c98907dd08d0be362de3184a9834b508
parentb1ac6797c551e5328cfee509c168afe550235d2a (diff)
downloademacs-b00796ee36bb2ecc9a853ef97e4b7f8174e4e3b8.tar.gz
Mairix: use 'mairix-search-options' as documented
* lisp/net/mairix.el (mairix-call-mairix): Append 'mairix-search-options' to the arguments passed to mairix. Copyright-paperwork-exempt: yes
-rw-r--r--lisp/net/mairix.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/net/mairix.el b/lisp/net/mairix.el
index adc41b60683..e1d35c2a85a 100644
--- a/lisp/net/mairix.el
+++ b/lisp/net/mairix.el
@@ -531,8 +531,11 @@ The mail program is given by `mairix-mail-program'."
If FILE is nil, use default. If THREADS is non-nil, also return
whole threads. Function returns t if messages were found."
(let* ((commandsplit (split-string mairix-command))
- (args (cons (car commandsplit)
- `(nil ,(get-buffer-create mairix-output-buffer) nil)))
+ (args (cons
+ (car commandsplit)
+ (append
+ `(nil ,(get-buffer-create mairix-output-buffer) nil)
+ mairix-search-options)))
rval)
(with-current-buffer mairix-output-buffer
(erase-buffer))