changeset 98411:c5fb918370c8

(mail-unquote-printable-region): Use insert-byte instead of insert-char, when the UNIBYTE arg is non-nil.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 30 Sep 2008 11:53:21 +0000
parents 3fd1ad09bae4
children f999c89e46fd
files lisp/mail/mail-utils.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/mail-utils.el	Tue Sep 30 09:01:53 2008 +0000
+++ b/lisp/mail/mail-utils.el	Tue Sep 30 11:53:21 2008 +0000
@@ -141,8 +141,9 @@
 		     (if unibyte
 			 (progn
 			   (replace-match "")
-			   ;; insert-char will insert this as unibyte,
-			   (insert-char char 1))
+			   ;; insert-byte will insert this as a
+			   ;; corresponding eight-bit character.
+			   (insert-byte char 1))
 		       (replace-match (make-string 1 char) t t))))
 		  (noerror
 		   (setq failed t))