mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix compilation warning in rmailmm
* lisp/mail/rmailmm.el (rmail-mime-insert-bulk): Remove apparently superfluous call to string-as-unibyte -- the buffer should be unibyte already at this point.
This commit is contained in:
parent
7486b8f4eb
commit
a983bf0c49
1 changed files with 2 additions and 1 deletions
|
|
@ -836,7 +836,8 @@ directly."
|
|||
size (car bulk-data))
|
||||
(if (stringp (aref body 0))
|
||||
(setq data (aref body 0))
|
||||
(setq data (string-as-unibyte (buffer-string)))
|
||||
(setq data (buffer-string))
|
||||
(cl-assert (not (multibyte-string-p data)))
|
||||
(aset body 0 data)
|
||||
(rmail-mime-set-bulk-data entity)
|
||||
(delete-region (point-min) (point-max)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue