]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-redecode-body): Use eight-bit instead of obsolete
authorEli Zaretskii <eliz@gnu.org>
Sat, 31 Jan 2009 18:53:50 +0000 (18:53 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 31 Jan 2009 18:53:50 +0000 (18:53 +0000)
eight-bit-control and eight-bit-graphic.

lisp/ChangeLog
lisp/mail/rmail.el

index 407c34cbfccb8dd9d3d319303ad6296acd458f1d..d69bd444b3afe93f18b5af8498ebee96ac8a99b8 100644 (file)
@@ -1,3 +1,8 @@
+2009-01-31  Eli Zaretskii  <eliz@gnu.org>
+
+       * mail/rmail.el (rmail-redecode-body): Use eight-bit instead of
+       obsolete eight-bit-control and eight-bit-graphic.
+
 2009-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/elp.el (elp-results-symname-map): Add follow-link.
index 8ea6cd2dbba9af9c4d62e774884688dd0c40cc91..b2bd29c19917710539597b9ba169d87873e10cf2 100644 (file)
@@ -2722,14 +2722,13 @@ iso-8859, koi8-r, etc."
                 (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)