From 3183259481992af4e5dc2b31dee1ad844a054e5a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 22 Aug 2020 15:42:17 +0200 Subject: [PATCH] nndoc minor clean-up * lisp/gnus/nndoc.el (nndoc-possibly-change-buffer): Erase the buffer before changing multibyteness. --- lisp/gnus/nndoc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/gnus/nndoc.el b/lisp/gnus/nndoc.el index 8960b3d7aa9..81431270d7c 100644 --- a/lisp/gnus/nndoc.el +++ b/lisp/gnus/nndoc.el @@ -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)) -- 2.39.2