From b00796ee36bb2ecc9a853ef97e4b7f8174e4e3b8 Mon Sep 17 00:00:00 2001 From: Daniel Semyonov Date: Sat, 1 May 2021 17:03:07 +0300 Subject: [PATCH] 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 --- lisp/net/mairix.el | 7 +++++-- 1 file 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)) -- 2.39.5