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 | |
parent | a32da22ce6d5463c87f176bf44abc39021a22486 (diff) | |
download | emacs-753b4645a70fb09c9cb3b0f3f4cb426da00ca8d6.tar.gz |
(quoted-printable-decode-region): If called interactively,
use coding-system-for-read.
-rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/gnus/qp.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index ef8de291082..8368c4da7b0 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +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. 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 |