You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el
index ce71d17a..0b0b31e0 100644
--- a/mu4e/mu4e-view.el
+++ b/mu4e/mu4e-view.el
@@ -651,7 +651,8 @@ As a side-effect, a message that is being viewed loses its
(mu4e-error "Cannot get a message view"))
(select-window mu4e~headers-view-win)))
(with-current-buffer gnus-article-buffer
- (run-hooks'mu4e-view-rendered-hook)))
+ (let ((inhibit-read-onlyt))
+ (run-hooks'mu4e-view-rendered-hook))))
(defunmu4e-view-message-text (msg)
"Return the pristine MSG as a string."
Describe the bug
The hook
mu4e-view-rendered-hook
runs outside theinhibit-read-only
let body hence this error:error in process filter: smiley-buffer: Buffer is read-only: #<buffer mu4e-article>
advising smiley-buffer which is added to mu4e-view-rendered-hook in my config fixes the bug.
How to Reproduce
Add smiley-buffer to mu4e-view-rendered-hook.
Environment
LinuxMint, emacs-28
Checklist
master
(otherwise please upgrade)The text was updated successfully, but these errors were encountered: