aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love <[email protected]>2000-11-23 16:09:21 +0000
committerDave Love <[email protected]>2000-11-23 16:09:21 +0000
commit1bde0b39f065ae76520f4fbcae8cb01828a76cd1 (patch)
tree4f8fc6d59968eede42d24b4e81995e49369d7226
parent4bcf2f05745914bc5bcd22a3562211cde06309db (diff)
(rfc2047-encode-message-header): Don't encode if
default-enable-multibyte-characters is nil.
-rw-r--r--lisp/gnus/rfc2047.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/gnus/rfc2047.el b/lisp/gnus/rfc2047.el
index 12034d7ad9..e6b7407a9d 100644
--- a/lisp/gnus/rfc2047.el
+++ b/lisp/gnus/rfc2047.el
@@ -141,11 +141,15 @@ Should be called narrowed to the head of the message."
(rfc2047-encode-region (point-min) (point-max)))
((eq method 'default)
(if (and (featurep 'mule)
+ (if (boundp 'default-enable-multibyte-characters)
+ default-enable-multibyte-characters)
mail-parse-charset)
(mm-encode-coding-region (point-min) (point-max)
mail-parse-charset)))
((mm-coding-system-p method)
- (if (featurep 'mule)
+ (if (and (featurep 'mule)
+ (if (boundp 'default-enable-multibyte-characters)
+ default-enable-multibyte-characters))
(mm-encode-coding-region (point-min) (point-max) method)))
;; Hm.
(t)))