Permalink
Browse files

* mu4e: don't try to write in read-only buffer

  • Loading branch information...
1 parent 6c46447 commit 89d8792bb8b2c434d32962b86e35f6d4e2072656 @djcb committed Mar 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mu4e/mu4e-view.el
View
@@ -219,10 +219,10 @@ marking if it still had that."
(mu4e~view-embedded-winbuf)
(get-buffer-create mu4e~view-buffer-name))))
(with-current-buffer buf
+ (switch-to-buffer buf)
(let ((inhibit-read-only t))
(erase-buffer)
(insert (mu4e-view-message-text msg))
- (switch-to-buffer buf)
(goto-char (point-min))
(mu4e~view-fontify-cited)
(mu4e~view-fontify-footer)

0 comments on commit 89d8792

Please sign in to comment.