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

This commit is contained in:
djcb 2013-03-30 11:09:56 +02:00
parent 6c464473d9
commit 89d8792bb8
1 changed files with 1 additions and 1 deletions

View File

@ -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)