mu4e: revamp emacs bookmark support

The support for emacs in bookmarks in mu4e-contrib has been broken for a while;
we removed it an now re-implement it as part of mu4e-proper.

Fixes: issue #2255.
This commit is contained in:
Dirk-Jan C. Binnema
2022-05-29 12:31:39 +03:00
parent 8720310679
commit 59022e066d
4 changed files with 45 additions and 1 deletions

View File

@ -1190,6 +1190,9 @@ The following specs are supported:
(add-function :before-until (local 'eldoc-documentation-function)
#'mu4e-headers-eldoc-function))))
;; support bookmarks.
(set (make-local-variable 'bookmark-make-record-function)
'mu4e--make-bookmark-record)
;; maybe update the current headers upon indexing changes
(add-hook 'mu4e-index-updated-hook #'mu4e~headers-maybe-auto-update)
(setq