diff options
| author | Kenichi Handa | 2006-03-23 11:30:48 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-03-23 11:30:48 +0000 |
| commit | 4f162824e5a04baf549c0b0bc4bd248c4e05b3e8 (patch) | |
| tree | 43055d67fb2b7030a0ace35dd941866ff1be809f | |
| parent | 679ce4d54614874bad10704b9bd5df5da6ab65f6 (diff) | |
| download | emacs-4f162824e5a04baf549c0b0bc4bd248c4e05b3e8.tar.gz emacs-4f162824e5a04baf549c0b0bc4bd248c4e05b3e8.zip | |
(rfc2231-encode-string): Use mm-disable-multibyte
instead of set-buffer-multibyte.
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/rfc2231.el | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 50ee745389c..c5343670410 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,10 +1,15 @@ | |||
| 1 | 2006-03-23 Kenichi Handa <handa@m17n.org> | 1 | 2006-03-23 Kenichi Handa <handa@m17n.org> |
| 2 | 2 | ||
| 3 | * rfc2231.el (rfc2231-encode-string): Use mm-disable-multibyte | ||
| 4 | instead of set-buffer-multibyte. | ||
| 5 | |||
| 6 | 2006-03-23 Kenichi Handa <handa@m17n.org> | ||
| 7 | |||
| 3 | * rfc2231.el (rfc2231-decode-encoded-string): Work on unibyte | 8 | * rfc2231.el (rfc2231-decode-encoded-string): Work on unibyte |
| 4 | buffer and then decode the buffer text if necessary. | 9 | buffer and then decode the buffer text if necessary. |
| 5 | (rfc2231-encode-string): Be sure to work on multibyte buffer at | 10 | (rfc2231-encode-string): Be sure to work on multibyte buffer at |
| 6 | first, and after mm-encode-body, change the buffer to unibyte. | 11 | first, and after mm-encode-body, change the buffer to unibyte. |
| 7 | 12 | ||
| 8 | 2006-03-21 Daniel Pittman <daniel@rimspace.net> | 13 | 2006-03-21 Daniel Pittman <daniel@rimspace.net> |
| 9 | 14 | ||
| 10 | * nnimap.el (nnimap-request-update-info-internal): Optimize. | 15 | * nnimap.el (nnimap-request-update-info-internal): Optimize. |
diff --git a/lisp/gnus/rfc2231.el b/lisp/gnus/rfc2231.el index ba246278c73..a5827ecb70c 100644 --- a/lisp/gnus/rfc2231.el +++ b/lisp/gnus/rfc2231.el | |||
| @@ -268,7 +268,7 @@ the result of this function." | |||
| 268 | (forward-char 1)) | 268 | (forward-char 1)) |
| 269 | (when charsetp | 269 | (when charsetp |
| 270 | (setq charset (mm-encode-body))) | 270 | (setq charset (mm-encode-body))) |
| 271 | (set-buffer-multibyte nil) | 271 | (mm-disable-multibyte) |
| 272 | (cond | 272 | (cond |
| 273 | ((or encodep charsetp | 273 | ((or encodep charsetp |
| 274 | (progn | 274 | (progn |