]> git.eshelyaron.com Git - emacs.git/commitdiff
nndoc minor clean-up
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 22 Aug 2020 13:42:17 +0000 (15:42 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 22 Aug 2020 13:42:17 +0000 (15:42 +0200)
* lisp/gnus/nndoc.el (nndoc-possibly-change-buffer): Erase the
buffer before changing multibyteness.

lisp/gnus/nndoc.el

index 8960b3d7aa96f98c23c9505da545e15c58750511..81431270d7cdeef79cabdbed274f91c89a696755 100644 (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))