X-Git-Url: https://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fmm-util.el;h=296098e01683ff313b94463e337c663af27ee0c8;hb=7db65818baa58fbf633f219f9dead3c247217a3b;hp=aa70484d8aa6fe0532493ce95c731b0cbcdce5a7;hpb=59466f75d0c93c2586b18d3d122c1011c15ccc91;p=gnus diff --git a/lisp/mm-util.el b/lisp/mm-util.el index aa70484d8..296098e01 100644 --- a/lisp/mm-util.el +++ b/lisp/mm-util.el @@ -311,7 +311,7 @@ If the charset is `composition', return the actual one." See also `with-temp-file' and `with-output-to-string'." (let ((temp-buffer (make-symbol "temp-buffer")) (multibyte (make-symbol "multibyte"))) - `(if (or (string-match "XEmacs\\|Lucid" emacs-version) + `(if (or (featurep 'xemacs) (not (boundp 'enable-multibyte-characters))) (with-temp-buffer ,@forms) (let ((,multibyte (default-value 'enable-multibyte-characters))