aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mail
diff options
context:
space:
mode:
authorEli Zaretskii2008-09-30 11:54:57 +0000
committerEli Zaretskii2008-09-30 11:54:57 +0000
commitf45de83bf8fd3d3a475e77afff4dee434400187e (patch)
tree9994455a621a045a0c0ce5edd845917c128197ef /lisp/mail
parent9721264a836cf2a970f748fabdec7c3948f2f7e2 (diff)
downloademacs-f45de83bf8fd3d3a475e77afff4dee434400187e.tar.gz
emacs-f45de83bf8fd3d3a475e77afff4dee434400187e.zip
(mail-unquote-printable-region): Use insert-byte instead of insert-char,
when the UNIBYTE arg is non-nil.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/mail-utils.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el
index 7c8593742e7..c26ec78c0be 100644
--- a/lisp/mail/mail-utils.el
+++ b/lisp/mail/mail-utils.el
@@ -141,8 +141,9 @@ as Rmail does."
141 (if unibyte 141 (if unibyte
142 (progn 142 (progn
143 (replace-match "") 143 (replace-match "")
144 ;; insert-char will insert this as unibyte, 144 ;; insert-byte will insert this as a
145 (insert-char char 1)) 145 ;; corresponding eight-bit character.
146 (insert-byte char 1))
146 (replace-match (make-string 1 char) t t)))) 147 (replace-match (make-string 1 char) t t))))
147 (noerror 148 (noerror
148 (setq failed t)) 149 (setq failed t))