diff options
Diffstat (limited to 'lisp/gnus/nnnil.el')
-rw-r--r-- | lisp/gnus/nnnil.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/gnus/nnnil.el b/lisp/gnus/nnnil.el index 3508a7dd94f..926553365d3 100644 --- a/lisp/gnus/nnnil.el +++ b/lisp/gnus/nnnil.el @@ -32,8 +32,7 @@ (defvar nnnil-status-string "") (defun nnnil-retrieve-headers (articles &optional group server fetch-old) - (save-excursion - (set-buffer nntp-server-buffer) + (with-current-buffer nntp-server-buffer (erase-buffer)) 'nov) @@ -69,8 +68,7 @@ t) (defun nnnil-request-list (&optional server) - (save-excursion - (set-buffer nntp-server-buffer) + (with-current-buffer nntp-server-buffer (erase-buffer)) t) |