changeset 38103:282970d20daa

(quoted-printable-decode-region): If called interactively, use coding-system-for-read.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 18 Jun 2001 12:36:46 +0000
parents 8d709c123a80
children d45370887437
files lisp/gnus/qp.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/qp.el	Mon Jun 18 12:35:18 2001 +0000
+++ b/lisp/gnus/qp.el	Mon Jun 18 12:36:46 2001 +0000
@@ -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