diff options
| author | Katsumi Yamaoka | 2010-05-12 08:24:25 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-05-12 08:24:25 +0000 |
| commit | 706deb23dce31d2af3e672c3f30d0a578c023c12 (patch) | |
| tree | 748f0848e238eb9c9139781530ccc53746fc275b | |
| parent | e05aebe90549195bedca9ac550297233aeae9ac4 (diff) | |
| download | emacs-706deb23dce31d2af3e672c3f30d0a578c023c12.tar.gz emacs-706deb23dce31d2af3e672c3f30d0a578c023c12.zip | |
Synch with Gnus trunk.
(message-forward-make-body-plain, message-forward-make-body-mml):
Use mm-multibyte-string-p instead of multibyte-string-p.
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 194d2036c3f..d9fbef23cc1 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2010-05-12 Katsumi Yamaoka <yamaoka@jpl.org> | 1 | 2010-05-12 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 2 | ||
| 3 | * message.el (message-forward-make-body-plain) | ||
| 4 | (message-forward-make-body-mml): Use mm-multibyte-string-p instead of | ||
| 5 | multibyte-string-p. | ||
| 6 | |||
| 7 | 2010-05-12 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 8 | |||
| 3 | * message.el (message-forward-make-body-mml): Assume original message | 9 | * message.el (message-forward-make-body-mml): Assume original message |
| 4 | is multibyte string; error on unibyte. | 10 | is multibyte string; error on unibyte. |
| 5 | (message-forward-make-body-plain): Ditto; don't add excessive newline | 11 | (message-forward-make-body-plain): Ditto; don't add excessive newline |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 897fe695288..947b1bd53e8 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -7165,7 +7165,7 @@ Optional DIGEST will use digest to forward." | |||
| 7165 | (contents (with-current-buffer forward-buffer (buffer-string))) | 7165 | (contents (with-current-buffer forward-buffer (buffer-string))) |
| 7166 | e) | 7166 | e) |
| 7167 | (unless (featurep 'xemacs) | 7167 | (unless (featurep 'xemacs) |
| 7168 | (unless (multibyte-string-p contents) | 7168 | (unless (mm-multibyte-string-p contents) |
| 7169 | (error "Attempt to insert unibyte string from the buffer \"%s\"\ | 7169 | (error "Attempt to insert unibyte string from the buffer \"%s\"\ |
| 7170 | to the multibyte buffer \"%s\"" | 7170 | to the multibyte buffer \"%s\"" |
| 7171 | (if (bufferp forward-buffer) | 7171 | (if (bufferp forward-buffer) |
| @@ -7220,7 +7220,7 @@ Optional DIGEST will use digest to forward." | |||
| 7220 | (if (not message-forward-decoded-p) | 7220 | (if (not message-forward-decoded-p) |
| 7221 | (let ((contents (with-current-buffer forward-buffer (buffer-string)))) | 7221 | (let ((contents (with-current-buffer forward-buffer (buffer-string)))) |
| 7222 | (unless (featurep 'xemacs) | 7222 | (unless (featurep 'xemacs) |
| 7223 | (unless (multibyte-string-p contents) | 7223 | (unless (mm-multibyte-string-p contents) |
| 7224 | (error "Attempt to insert unibyte string from the buffer \"%s\"\ | 7224 | (error "Attempt to insert unibyte string from the buffer \"%s\"\ |
| 7225 | to the multibyte buffer \"%s\"" | 7225 | to the multibyte buffer \"%s\"" |
| 7226 | (if (bufferp forward-buffer) | 7226 | (if (bufferp forward-buffer) |