Skip to content

Commit

Permalink
mu4e--view-render-buffer: Disable Gnus bookmark-make-record-function
Browse files Browse the repository at this point in the history
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 <alphapapa/activities.el#55>.

Reported-by: Daniel Goldin <https://github.com/danielgoldin>
  • Loading branch information
alphapapa authored and djcb committed Apr 10, 2024
1 parent ac08a35 commit 6a12137
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mu4e/mu4e-view.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6a12137

Please sign in to comment.