Commit 753b4645 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(quoted-printable-decode-region): If called interactively,

use coding-system-for-read.
parent a32da22c
2001-06-18 Eli Zaretskii <eliz@is.elta.co.il>
* qp.el (quoted-printable-decode-region): If called interactively,
use coding-system-for-read.
2001-03-30 Gerd Moellmann <gerd@gnu.org>
* gnus.el (gnus-interactive): Fix parenthesis errors.
......
......@@ -36,7 +36,9 @@
"Decode quoted-printable in the region between FROM and TO, per RFC 2045.
If CODING-SYSTEM is non-nil, decode bytes into characters with that
coding-system."
(interactive "r")
(interactive
;; Let the user determine the coding system with "C-x RET c".
(list (region-beginning) (region-end) coding-system-for-read))
(unless (mm-coding-system-p coding-system) ; e.g. `ascii' from Gnus
(setq coding-system nil))
(save-excursion
......
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