]> code.delx.au - gnu-emacs/blobdiff - lisp/gnus/gnus-demon.el
Fix typos in ChangeLogs.
[gnu-emacs] / lisp / gnus / gnus-demon.el
index caf9f8784b933feef64456d25abccbba85a8af5c..67c1c8ba3bc890fc2cf7a988b205527e45b9767f 100644 (file)
@@ -291,11 +291,9 @@ minutes, the connection is closed."
   (let ((win (current-window-configuration)))
     (unwind-protect
        (save-window-excursion
-         (save-excursion
-           (when (gnus-alive-p)
-             (save-excursion
-               (set-buffer gnus-group-buffer)
-               (gnus-group-get-new-news)))))
+         (when (gnus-alive-p)
+           (with-current-buffer gnus-group-buffer
+             (gnus-group-get-new-news))))
       (set-window-configuration win))))
 
 (defun gnus-demon-add-scan-timestamps ()