changeset 20119:c62cc873509f

(gnus-show-traditional-method): Call gnus-mule-decode-article only when enable-multibyte-characters is non-nil.
author Kenichi Handa <handa@m17n.org>
date Wed, 22 Oct 1997 04:34:23 +0000
parents 44afc898c138
children 6aa000284161
files lisp/gnus/gnus-art.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/gnus-art.el	Wed Oct 22 04:34:23 1997 +0000
+++ b/lisp/gnus/gnus-art.el	Wed Oct 22 04:34:23 1997 +0000
@@ -369,8 +369,10 @@
   :type 'function)
 
 (defcustom gnus-show-traditional-method
-  (if (featurep 'mule)
-      'gnus-mule-decode-article
+  (if (and (featurep 'mule)
+	   (boundp 'enable-multibyte-characters))
+      (lambda ()
+	(if enable-multibyte-characters (gnus-mule-decode-article)))
     (lambda ()))
   "Function to decode ``localized RFC 822 messages''.
 The function is called from the article buffer."