+2012-03-10 Richard Stallman <rms@gnu.org>
+
+ * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
+
2012-03-10 Chong Yidong <cyd@gnu.org>
* emulation/cua-rect.el (cua--init-rectangles):
(if sign
(epa-select-keys context
"Select keys for signing. "))))))
- (epa-encrypt-region start end recipients sign signers))
+ ;; Don't let some read-only text stop us from encrypting.
+ (let ((inhibit-read-only t))
+ (epa-encrypt-region start end recipients sign signers)))
;;;###autoload
(defun epa-mail-import-keys ()