diff lisp/gnus/rfc2047.el @ 104830:79c2323377ac

Use default-value rather than default-enable-multibyte-characters.
author Glenn Morris <rgm@gnu.org>
date Thu, 03 Sep 2009 07:26:31 +0000
parents 25a15bc4c9bb
children fc3c7104330d
line wrap: on
line diff
--- a/lisp/gnus/rfc2047.el	Thu Sep 03 07:20:50 2009 +0000
+++ b/lisp/gnus/rfc2047.el	Thu Sep 03 07:26:31 2009 +0000
@@ -1,7 +1,7 @@
 ;;; rfc2047.el --- functions for encoding and decoding rfc2047 messages
 
-;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+;;   2007, 2008, 2009  Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;;	MORIOKA Tomohiko <morioka@jaist.ac.jp>
@@ -282,8 +282,8 @@
 		(rfc2047-encode-region (point) (point-max))))
 	     ((eq method 'default)
 	      (if (and (featurep 'mule)
-		       (if (boundp 'default-enable-multibyte-characters)
-			   default-enable-multibyte-characters)
+		       (if (boundp 'enable-multibyte-characters)
+			   (default-value 'enable-multibyte-characters))
 		       mail-parse-charset)
 		  (mm-encode-coding-region (point) (point-max)
 					   mail-parse-charset)))
@@ -309,8 +309,8 @@
 ;;; 		(error "Cannot send unencoded text")))
 	     ((mm-coding-system-p method)
 	      (if (or (and (featurep 'mule)
-			   (if (boundp 'default-enable-multibyte-characters)
-			       default-enable-multibyte-characters))
+			   (if (boundp 'enable-multibyte-characters)
+			       (default-value 'enable-multibyte-characters)))
 		      (featurep 'file-coding))
 		  (mm-encode-coding-region (point) (point-max) method)))
 	     ;; Hm.