changeset 101719:f42f5b108ccf

(rmail-redecode-body): Use eight-bit instead of obsolete eight-bit-control and eight-bit-graphic.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 31 Jan 2009 18:52:36 +0000
parents e5e2e4109ea1
children 02a61aa59953
files lisp/mail/rmail.el
diffstat 1 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Sat Jan 31 18:38:56 2009 +0000
+++ b/lisp/mail/rmail.el	Sat Jan 31 18:52:36 2009 +0000
@@ -2722,14 +2722,13 @@
 		 (not (coding-system-equal
 		       (coding-system-base old-coding)
 		       (coding-system-base coding)))
-		 ;; If the body includes only eight-bit-*
-		 ;; characters, encoding might fail, e.g. with
-		 ;; UTF-8, and isn't needed anyway.
+		 ;; If the body includes only eight-bit characters,
+		 ;; encoding might fail, e.g. with UTF-8, and isn't
+		 ;; needed anyway.
 		 (> (length (delq 'ascii
-				  (delq 'eight-bit-graphic
-					(delq 'eight-bit-control
-					      (find-charset-region
-					       (point-min) (point-max))))))
+				  (delq 'eight-bit
+					(find-charset-region
+					 (point-min) (point-max)))))
 		    0)
 		 (encode-coding-region (point-min) (point-max) old-coding))
 	    (decode-coding-region (point-min) (point-max) coding)