Make epa-mail-encrypt cope with read-only text.
This commit is contained in:
parent
699bd04ed6
commit
92795c9142
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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):
|
||||
|
|
|
@ -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)))
|
||||
|
||||
;;;###autoload
|
||||
(defun epa-mail-import-keys ()
|
||||
|
|
Loading…
Add table
Reference in a new issue