diff options
| author | Dave Love | 2002-06-24 19:06:00 +0000 |
|---|---|---|
| committer | Dave Love | 2002-06-24 19:06:00 +0000 |
| commit | f1bf026ea492cb57597c0dd0ddea228001a7bdff (patch) | |
| tree | ca53c098483745b1d6a09dae3801385821abfe1b | |
| parent | c724d286c7a7d96d469ef1757496d8d930cb1f9f (diff) | |
| download | emacs-f1bf026ea492cb57597c0dd0ddea228001a7bdff.tar.gz emacs-f1bf026ea492cb57597c0dd0ddea228001a7bdff.zip | |
(quoted-printable-encode-region): Avoid
find-charset-region.
| -rw-r--r-- | lisp/gnus/qp.el | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lisp/gnus/qp.el b/lisp/gnus/qp.el index e7bff13b918..0760457b3e9 100644 --- a/lisp/gnus/qp.el +++ b/lisp/gnus/qp.el | |||
| @@ -92,13 +92,9 @@ You should probably avoid non-ASCII characters in this arg. | |||
| 92 | If `mm-use-ultra-safe-encoding' is set, fold lines unconditionally and | 92 | If `mm-use-ultra-safe-encoding' is set, fold lines unconditionally and |
| 93 | encode lines starting with \"From\"." | 93 | encode lines starting with \"From\"." |
| 94 | (interactive "r") | 94 | (interactive "r") |
| 95 | ;; Fixme: what should this do in XEmacs/Mule? | 95 | (save-excursion |
| 96 | (if (fboundp 'find-charset-region) ; else XEmacs, non-Mule | 96 | (if (re-search-forward "[^\x0-\xff]" to t) |
| 97 | (if (delq 'unknown ; Emacs 20 unibyte | 97 | (error "Multibyte character in QP encoding region"))) |
| 98 | (delq 'eight-bit-graphic ; Emacs 21 | ||
| 99 | (delq 'eight-bit-control | ||
| 100 | (delq 'ascii (find-charset-region from to))))) | ||
| 101 | (error "Multibyte character in QP encoding region"))) | ||
| 102 | (unless class | 98 | (unless class |
| 103 | ;; Avoid using 8bit characters. = is \075. | 99 | ;; Avoid using 8bit characters. = is \075. |
| 104 | ;; Equivalent to "^\000-\007\013\015-\037\200-\377=" | 100 | ;; Equivalent to "^\000-\007\013\015-\037\200-\377=" |