diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-06-18 12:38:38 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-06-18 12:38:38 +0000 |
commit | 753b4645a70fb09c9cb3b0f3f4cb426da00ca8d6 (patch) | |
tree | 6d44aa6cc522a5c4f6812a7892b1e46a6baa8a22 /lisp/gnus/qp.el | |
parent | a32da22ce6d5463c87f176bf44abc39021a22486 (diff) | |
download | emacs-753b4645a70fb09c9cb3b0f3f4cb426da00ca8d6.tar.gz |
(quoted-printable-decode-region): If called interactively,
use coding-system-for-read.
Diffstat (limited to 'lisp/gnus/qp.el')
-rw-r--r-- | lisp/gnus/qp.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/gnus/qp.el b/lisp/gnus/qp.el index d4fb5152fe1..e7bff13b918 100644 --- a/lisp/gnus/qp.el +++ b/lisp/gnus/qp.el @@ -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 |