aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-09-03 07:26:31 +0000
committerGlenn Morris2009-09-03 07:26:31 +0000
commit2e62b574beaca97fa5ae337410b0fab2b27c0c49 (patch)
tree2611ca05929d8bf8bde5033a657fcdcba790e5ce
parent102a7c9d746a11ca8ee0f7486693f2fa5bb6f688 (diff)
downloademacs-2e62b574beaca97fa5ae337410b0fab2b27c0c49.tar.gz
emacs-2e62b574beaca97fa5ae337410b0fab2b27c0c49.zip
Use default-value rather than default-enable-multibyte-characters.
-rw-r--r--lisp/gnus/ChangeLog6
-rw-r--r--lisp/gnus/mm-util.el12
-rw-r--r--lisp/gnus/rfc2047.el12
3 files changed, 18 insertions, 12 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index c69d4d8acb8..9d257dd4efb 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,9 @@
12009-09-03 Glenn Morris <rgm@gnu.org>
2
3 * mm-util.el (mm-emacs-mule, mm-default-multibyte-p):
4 * rfc2047.el (rfc2047-encode-message-header): Use default-value rather
5 than default-enable-multibyte-characters.
6
12009-09-02 Glenn Morris <rgm@gnu.org> 72009-09-02 Glenn Morris <rgm@gnu.org>
2 8
3 * gnus-util.el (gnus-float-time): New function. 9 * gnus-util.el (gnus-float-time): New function.
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el
index 8866befb4f9..0c7a6e3e7b8 100644
--- a/lisp/gnus/mm-util.el
+++ b/lisp/gnus/mm-util.el
@@ -1,7 +1,7 @@
1;;; mm-util.el --- Utility functions for Mule and low level things 1;;; mm-util.el --- Utility functions for Mule and low level things
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
4;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2007, 2008, 2009 Free Software Foundation, Inc.
5 5
6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
7;; MORIOKA Tomohiko <morioka@jaist.ac.jp> 7;; MORIOKA Tomohiko <morioka@jaist.ac.jp>
@@ -900,8 +900,8 @@ mail with multiple parts is preferred to sending a Unicode one.")
900 900
901(eval-and-compile 901(eval-and-compile
902 (defvar mm-emacs-mule (and (not (featurep 'xemacs)) 902 (defvar mm-emacs-mule (and (not (featurep 'xemacs))
903 (boundp 'default-enable-multibyte-characters) 903 (boundp 'enable-multibyte-characters)
904 default-enable-multibyte-characters 904 (default-value 'enable-multibyte-characters)
905 (fboundp 'set-buffer-multibyte)) 905 (fboundp 'set-buffer-multibyte))
906 "True in Emacs with Mule.") 906 "True in Emacs with Mule.")
907 907
@@ -1013,8 +1013,8 @@ This is a compatibility function for Emacsen without `delete-dups'."
1013 "Return non-nil if the session is multibyte. 1013 "Return non-nil if the session is multibyte.
1014This affects whether coding conversion should be attempted generally." 1014This affects whether coding conversion should be attempted generally."
1015 (if (featurep 'mule) 1015 (if (featurep 'mule)
1016 (if (boundp 'default-enable-multibyte-characters) 1016 (if (boundp 'enable-multibyte-characters)
1017 default-enable-multibyte-characters 1017 (default-value 'enable-multibyte-characters)
1018 t))) 1018 t)))
1019 1019
1020(defun mm-iso-8859-x-to-15-region (&optional b e) 1020(defun mm-iso-8859-x-to-15-region (&optional b e)
diff --git a/lisp/gnus/rfc2047.el b/lisp/gnus/rfc2047.el
index c0bdec3c025..4ba4bcb5119 100644
--- a/lisp/gnus/rfc2047.el
+++ b/lisp/gnus/rfc2047.el
@@ -1,7 +1,7 @@
1;;; rfc2047.el --- functions for encoding and decoding rfc2047 messages 1;;; rfc2047.el --- functions for encoding and decoding rfc2047 messages
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
4;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2007, 2008, 2009 Free Software Foundation, Inc.
5 5
6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
7;; MORIOKA Tomohiko <morioka@jaist.ac.jp> 7;; MORIOKA Tomohiko <morioka@jaist.ac.jp>
@@ -282,8 +282,8 @@ Should be called narrowed to the head of the message."
282 (rfc2047-encode-region (point) (point-max)))) 282 (rfc2047-encode-region (point) (point-max))))
283 ((eq method 'default) 283 ((eq method 'default)
284 (if (and (featurep 'mule) 284 (if (and (featurep 'mule)
285 (if (boundp 'default-enable-multibyte-characters) 285 (if (boundp 'enable-multibyte-characters)
286 default-enable-multibyte-characters) 286 (default-value 'enable-multibyte-characters))
287 mail-parse-charset) 287 mail-parse-charset)
288 (mm-encode-coding-region (point) (point-max) 288 (mm-encode-coding-region (point) (point-max)
289 mail-parse-charset))) 289 mail-parse-charset)))
@@ -309,8 +309,8 @@ Should be called narrowed to the head of the message."
309;;; (error "Cannot send unencoded text"))) 309;;; (error "Cannot send unencoded text")))
310 ((mm-coding-system-p method) 310 ((mm-coding-system-p method)
311 (if (or (and (featurep 'mule) 311 (if (or (and (featurep 'mule)
312 (if (boundp 'default-enable-multibyte-characters) 312 (if (boundp 'enable-multibyte-characters)
313 default-enable-multibyte-characters)) 313 (default-value 'enable-multibyte-characters)))
314 (featurep 'file-coding)) 314 (featurep 'file-coding))
315 (mm-encode-coding-region (point) (point-max) method))) 315 (mm-encode-coding-region (point) (point-max) method)))
316 ;; Hm. 316 ;; Hm.