Commit 92795c91 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Make epa-mail-encrypt cope with read-only text.

parent 699bd04e
2012-03-10 Richard Stallman <>
* epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2012-03-10 Chong Yidong <>
* emulation/cua-rect.el (cua--init-rectangles):
......@@ -192,7 +192,9 @@ If no one is selected, symmetric encryption will be performed. "
(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)))
(defun epa-mail-import-keys ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment