mu4e: Use mu4e-query-rewrite-function

The (new) mu4e-search-query-rewrite-function is a bit too long, let's keep the
old one.
This commit is contained in:
Dirk-Jan C. Binnema
2021-10-31 11:26:58 +02:00
parent 892b9ce1fa
commit 5d155841a6
3 changed files with 3 additions and 7 deletions

View File

@ -796,7 +796,7 @@ Switch to the output buffer for the results. If IGNORE-HISTORY is
true, do *not* update the query history stack."
(let* ((buf (get-buffer-create mu4e-headers-buffer-name))
(inhibit-read-only t)
(rewritten-expr (funcall mu4e-search-query-rewrite-function expr))
(rewritten-expr (funcall mu4e-query-rewrite-function expr))
(maxnum (unless mu4e-search-full mu4e-search-results-limit)))
(with-current-buffer buf
(mu4e-headers-mode)