diff options
| author | Lars Ingebrigtsen | 2020-08-22 15:42:17 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-08-22 15:42:17 +0200 |
| commit | 3183259481992af4e5dc2b31dee1ad844a054e5a (patch) | |
| tree | a75c94afe8ad31d70554b5d0bb0387ebdcfb5d6c | |
| parent | 5c715113efe91f4feb03e37b8b1287cd5afe9e94 (diff) | |
| download | emacs-3183259481992af4e5dc2b31dee1ad844a054e5a.tar.gz emacs-3183259481992af4e5dc2b31dee1ad844a054e5a.zip | |
nndoc minor clean-up
* lisp/gnus/nndoc.el (nndoc-possibly-change-buffer): Erase the
buffer before changing multibyteness.
| -rw-r--r-- | lisp/gnus/nndoc.el | 2 |
1 files changed, 1 insertions, 1 deletions
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.") | |||
| 352 | nndoc-group-alist) | 352 | nndoc-group-alist) |
| 353 | (setq nndoc-dissection-alist nil) | 353 | (setq nndoc-dissection-alist nil) |
| 354 | (with-current-buffer nndoc-current-buffer | 354 | (with-current-buffer nndoc-current-buffer |
| 355 | (set-buffer-multibyte nil) | ||
| 356 | (erase-buffer) | 355 | (erase-buffer) |
| 356 | (set-buffer-multibyte nil) | ||
| 357 | (condition-case error | 357 | (condition-case error |
| 358 | (if (and (stringp nndoc-address) | 358 | (if (and (stringp nndoc-address) |
| 359 | (string-match nndoc-binary-file-names nndoc-address)) | 359 | (string-match nndoc-binary-file-names nndoc-address)) |