mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(epa-decrypt-region): Detect encoding if
coding-system-for-read is not specified. <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=17018> (epa-verify-region): Ditto.
This commit is contained in:
parent
74830ab74d
commit
42481bde61
2 changed files with 11 additions and 2 deletions
|
|
@ -830,7 +830,8 @@ For example:
|
|||
(setq plain (epa--decode-coding-string
|
||||
plain
|
||||
(or coding-system-for-read
|
||||
(get-text-property start 'epa-coding-system-used))))
|
||||
(get-text-property start 'epa-coding-system-used)
|
||||
'undecided)))
|
||||
(if (y-or-n-p "Replace the original text? ")
|
||||
(let ((inhibit-read-only t)
|
||||
buffer-read-only)
|
||||
|
|
@ -919,7 +920,8 @@ For example:
|
|||
(setq plain (epa--decode-coding-string
|
||||
plain
|
||||
(or coding-system-for-read
|
||||
(get-text-property start 'epa-coding-system-used))))
|
||||
(get-text-property start 'epa-coding-system-used)
|
||||
'undecided)))
|
||||
(if (y-or-n-p "Replace the original text? ")
|
||||
(let ((inhibit-read-only t)
|
||||
buffer-read-only)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue