diff options
| author | Lars Ingebrigtsen | 2018-04-14 23:17:24 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2018-04-14 23:17:24 +0200 |
| commit | 9f767b3ec83a89706bceb5e0a9c778092a7dfe5d (patch) | |
| tree | cb778f6d5e768c8900bcabc4b13c79d722dcff0e | |
| parent | 196dc887d8ba324df01d594d5eda61591e251ff0 (diff) | |
| download | emacs-9f767b3ec83a89706bceb5e0a9c778092a7dfe5d.tar.gz emacs-9f767b3ec83a89706bceb5e0a9c778092a7dfe5d.zip | |
Fix a string-as-unibyte in Gnus
* lisp/gnus/gnus-art.el (gnus-article-browse-html-parts): Get rid
of a string-as-unibyte.
| -rw-r--r-- | lisp/gnus/gnus-art.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index ed6e77fb329..c153d94f3c3 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -2921,7 +2921,8 @@ message header will be added to the bodies of the \"text/html\" parts." | |||
| 2921 | (encode-coding-string | 2921 | (encode-coding-string |
| 2922 | title coding)) | 2922 | title coding)) |
| 2923 | body content)) | 2923 | body content)) |
| 2924 | (setq eheader (string-as-unibyte (buffer-string)) | 2924 | (setq eheader (encode-coding-string |
| 2925 | (buffer-string) 'utf-8) | ||
| 2925 | body content))) | 2926 | body content))) |
| 2926 | (erase-buffer) | 2927 | (erase-buffer) |
| 2927 | (mm-disable-multibyte) | 2928 | (mm-disable-multibyte) |