Commit 42481bde authored by Daiki Ueno's avatar Daiki Ueno
Browse files

(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.
parent 74830ab7
2009-06-05 Daiki Ueno <ueno@unixuser.org>
* epa.el (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.
2009-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
 
* tar-mode.el (tar-header-block-tokenize): Obey @LongLink even for
......
......@@ -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)
......
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