diff options
| author | Dave Love | 2000-10-03 17:38:06 +0000 |
|---|---|---|
| committer | Dave Love | 2000-10-03 17:38:06 +0000 |
| commit | 3b0bf2617c6dc06345152599963c25260b079e8b (patch) | |
| tree | aca93cf28ea0bc6fed6065c47a32f35b6e7197b7 | |
| parent | 64666d2d52aba0f490fd71db9aba7c8c2b495628 (diff) | |
| download | emacs-3b0bf2617c6dc06345152599963c25260b079e8b.tar.gz emacs-3b0bf2617c6dc06345152599963c25260b079e8b.zip | |
(quoted-printable-encode-region): Don't use mm-find-charset-region.
| -rw-r--r-- | lisp/gnus/qp.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/gnus/qp.el b/lisp/gnus/qp.el index 5bfb149bf69..6d2c01d41d8 100644 --- a/lisp/gnus/qp.el +++ b/lisp/gnus/qp.el | |||
| @@ -85,10 +85,13 @@ the form expected by `skip-chars-forward'. | |||
| 85 | If `mm-use-ultra-safe-encoding' is set, fold lines unconditionally and | 85 | If `mm-use-ultra-safe-encoding' is set, fold lines unconditionally and |
| 86 | encode lines starting with \"From\"." | 86 | encode lines starting with \"From\"." |
| 87 | (interactive "r") | 87 | (interactive "r") |
| 88 | (if (delq 'eight-bit-graphic | 88 | ;; Fixme: what should this do in XEmacs/Mule? |
| 89 | (delq 'eight-bit-control | 89 | (if (fboundp 'find-charset-region) ; else XEmacs, non-Mule |
| 90 | (delq 'ascii (mm-find-charset-region from to)))) | 90 | (if (delq 'unknown ; Emacs 20 unibyte |
| 91 | (error "Multibyte character in QP encoding region")) | 91 | (delq 'eight-bit-graphic ; Emacs 21 |
| 92 | (delq 'eight-bit-control | ||
| 93 | (delq 'ascii (find-charset-region from to))))) | ||
| 94 | (error "Multibyte character in QP encoding region"))) | ||
| 92 | (unless class | 95 | (unless class |
| 93 | (setq class "^\000-\007\013\015-\037\200-\377=")) | 96 | (setq class "^\000-\007\013\015-\037\200-\377=")) |
| 94 | (if (fboundp 'string-as-multibyte) | 97 | (if (fboundp 'string-as-multibyte) |