# HG changeset patch # User Dave Love # Date 970594686 0 # Node ID 31d231ad0b91d255eae253811d5a2f3213712ece # Parent d559924db6ba779ccfbc2094243db91e509680ac (quoted-printable-encode-region): Don't use mm-find-charset-region. diff -r d559924db6ba -r 31d231ad0b91 lisp/gnus/qp.el --- a/lisp/gnus/qp.el Tue Oct 03 17:35:47 2000 +0000 +++ b/lisp/gnus/qp.el Tue Oct 03 17:38:06 2000 +0000 @@ -85,10 +85,13 @@ If `mm-use-ultra-safe-encoding' is set, fold lines unconditionally and encode lines starting with \"From\"." (interactive "r") - (if (delq 'eight-bit-graphic - (delq 'eight-bit-control - (delq 'ascii (mm-find-charset-region from to)))) - (error "Multibyte character in QP encoding region")) + ;; Fixme: what should this do in XEmacs/Mule? + (if (fboundp 'find-charset-region) ; else XEmacs, non-Mule + (if (delq 'unknown ; Emacs 20 unibyte + (delq 'eight-bit-graphic ; Emacs 21 + (delq 'eight-bit-control + (delq 'ascii (find-charset-region from to))))) + (error "Multibyte character in QP encoding region"))) (unless class (setq class "^\000-\007\013\015-\037\200-\377=")) (if (fboundp 'string-as-multibyte)