mu4e--view-render-buffer: Disable Gnus bookmark-make-record-function

The function 'gnus-summary-bookmark-make-record' does not work properly with the
faux "appeasement" summary buffer, causing undesired changes in the window
configuration when the message rendering buffer's bookmark function is
called (which some packages, like Activities, Burly, and Dogears do routinely).

See <https://github.com/alphapapa/activities.el/issues/55>.

Reported-by: Daniel Goldin <https://github.com/danielgoldin>
This commit is contained in:
Adam Porter 2024-03-26 21:21:14 -05:00 committed by Dirk-Jan C. Binnema
parent ac08a35c5b
commit 6a12137506
1 changed files with 2 additions and 0 deletions

View File

@ -731,6 +731,8 @@ determine which browser function to use."
(ignore-errors (run-hooks 'gnus-article-decode-hook))
(gnus-article-prepare-display)
(mu4e--view-activate-urls)
;; `gnus-summary-bookmark-make-record' does not work properly when "appeased."
(kill-local-variable 'bookmark-make-record-function)
(setq mu4e~gnus-article-mime-handles gnus-article-mime-handles
gnus-article-decoded-p gnus-article-decode-hook)
(set-buffer-modified-p nil)