nndoc minor clean-up

* lisp/gnus/nndoc.el (nndoc-possibly-change-buffer): Erase the
buffer before changing multibyteness.
This commit is contained in:
Lars Ingebrigtsen 2020-08-22 15:42:17 +02:00
parent 5c715113ef
commit 3183259481

View file

@ -352,8 +352,8 @@ from the document.")
nndoc-group-alist)
(setq nndoc-dissection-alist nil)
(with-current-buffer nndoc-current-buffer
(set-buffer-multibyte nil)
(erase-buffer)
(set-buffer-multibyte nil)
(condition-case error
(if (and (stringp nndoc-address)
(string-match nndoc-binary-file-names nndoc-address))