1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

(rfc2231-encode-string): Use mm-disable-multibyte

instead of set-buffer-multibyte.
This commit is contained in:
Kenichi Handa 2006-03-23 11:30:48 +00:00
parent 679ce4d546
commit 4f162824e5
2 changed files with 7 additions and 2 deletions

View File

@ -1,10 +1,15 @@
2006-03-23 Kenichi Handa <handa@m17n.org>
* rfc2231.el (rfc2231-encode-string): Use mm-disable-multibyte
instead of set-buffer-multibyte.
2006-03-23 Kenichi Handa <handa@m17n.org>
* rfc2231.el (rfc2231-decode-encoded-string): Work on unibyte
buffer and then decode the buffer text if necessary.
(rfc2231-encode-string): Be sure to work on multibyte buffer at
first, and after mm-encode-body, change the buffer to unibyte.
2006-03-21 Daniel Pittman <daniel@rimspace.net>
* nnimap.el (nnimap-request-update-info-internal): Optimize.

View File

@ -268,7 +268,7 @@ the result of this function."
(forward-char 1))
(when charsetp
(setq charset (mm-encode-body)))
(set-buffer-multibyte nil)
(mm-disable-multibyte)
(cond
((or encodep charsetp
(progn