Assign `list-buffers-directory` to search query

for mu4e-header buffers, this displays the search query in
`M-x list-buffers` instead of showing an empty path column.
This commit is contained in:
Daniel Nagy 2021-12-02 11:17:53 +01:00
parent 3001c7832d
commit e1022fe9b1
No known key found for this signature in database
GPG Key ID: 1B8E8DCB576FB671
1 changed files with 1 additions and 0 deletions

View File

@ -805,6 +805,7 @@ true, do *not* update the query history stack."
(when mu4e--search-last-query
(mu4e--search-push-query mu4e--search-last-query 'past)))
(setq mu4e--search-last-query rewritten-expr)
(setq list-buffers-directory rewritten-expr)
(mu4e~headers-update-mode-line))
;; when the buffer is already visible, select it; otherwise,