mu4e: restore support for function bookmarks

Fixes 2446.
This commit is contained in:
Dirk-Jan C. Binnema
2023-03-28 20:57:07 +03:00
parent 9b40881e5d
commit f504327ac4
2 changed files with 2 additions and 3 deletions

View File

@ -203,6 +203,7 @@ the search."
(or expr
(mu4e-ask-bookmark
(if edit "Select bookmark: " "Bookmark: "))))
(expr (if (functionp expr) (funcall expr) expr))
(fav (mu4e--bookmark-query (mu4e-bookmark-favorite))))
;; reset baseline when searching for the favorite bookmark query
(when (and fav (string= fav expr))