summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Porter <adam@alphapapa.net>2024-03-26 21:21:14 -0500
committerAdam Porter <adam@alphapapa.net>2024-03-26 21:21:14 -0500
commit061450d049051b181d881a234d753b9993fc135b (patch)
treeb77900133c67c29c827e9dd36e74b6d249c4daea
parenteda3b9397fa06092c6d058ac51fd6f3c2fcb29da (diff)
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>
-rw-r--r--mu4e/mu4e-view.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el
index c09d17f..0c189df 100644
--- a/mu4e/mu4e-view.el
+++ b/mu4e/mu4e-view.el
@@ -730,6 +730,8 @@ determine which browser function to use."
(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)