diff options
| author | Eli Zaretskii | 2001-06-18 12:38:38 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-06-18 12:38:38 +0000 |
| commit | 753b4645a70fb09c9cb3b0f3f4cb426da00ca8d6 (patch) | |
| tree | 6d44aa6cc522a5c4f6812a7892b1e46a6baa8a22 | |
| parent | a32da22ce6d5463c87f176bf44abc39021a22486 (diff) | |
| download | emacs-753b4645a70fb09c9cb3b0f3f4cb426da00ca8d6.tar.gz emacs-753b4645a70fb09c9cb3b0f3f4cb426da00ca8d6.zip | |
(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 @@ | |||
| 1 | 2001-06-18 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * qp.el (quoted-printable-decode-region): If called interactively, | ||
| 4 | use coding-system-for-read. | ||
| 5 | |||
| 1 | 2001-03-30 Gerd Moellmann <gerd@gnu.org> | 6 | 2001-03-30 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * gnus.el (gnus-interactive): Fix parenthesis errors. | 8 | * 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 @@ | |||
| 36 | "Decode quoted-printable in the region between FROM and TO, per RFC 2045. | 36 | "Decode quoted-printable in the region between FROM and TO, per RFC 2045. |
| 37 | If CODING-SYSTEM is non-nil, decode bytes into characters with that | 37 | If CODING-SYSTEM is non-nil, decode bytes into characters with that |
| 38 | coding-system." | 38 | coding-system." |
| 39 | (interactive "r") | 39 | (interactive |
| 40 | ;; Let the user determine the coding system with "C-x RET c". | ||
| 41 | (list (region-beginning) (region-end) coding-system-for-read)) | ||
| 40 | (unless (mm-coding-system-p coding-system) ; e.g. `ascii' from Gnus | 42 | (unless (mm-coding-system-p coding-system) ; e.g. `ascii' from Gnus |
| 41 | (setq coding-system nil)) | 43 | (setq coding-system nil)) |
| 42 | (save-excursion | 44 | (save-excursion |