aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus/gnus-start.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/gnus-start.el')
-rw-r--r--lisp/gnus/gnus-start.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el
index 47e33af96e8..be46339cd38 100644
--- a/lisp/gnus/gnus-start.el
+++ b/lisp/gnus/gnus-start.el
@@ -2801,8 +2801,13 @@ If FORCE is non-nil, the .newsrc file is read."
2801 (gnus-run-hooks 'gnus-save-newsrc-hook) 2801 (gnus-run-hooks 'gnus-save-newsrc-hook)
2802 (if gnus-slave 2802 (if gnus-slave
2803 (gnus-slave-save-newsrc) 2803 (gnus-slave-save-newsrc)
2804 ;; Save .newsrc. 2804 ;; Save .newsrc only if the select method is an NNTP method.
2805 (when gnus-save-newsrc-file 2805 ;; The .newsrc file is for interoperability with other
2806 ;; newsreaders, so saving non-NNTP groups there doesn't make
2807 ;; much sense.
2808 (when (and gnus-save-newsrc-file
2809 (eq (car (gnus-server-to-method gnus-select-method))
2810 'nntp))
2806 (gnus-message 8 "Saving %s..." gnus-current-startup-file) 2811 (gnus-message 8 "Saving %s..." gnus-current-startup-file)
2807 (gnus-gnus-to-newsrc-format) 2812 (gnus-gnus-to-newsrc-format)
2808 (gnus-message 8 "Saving %s...done" gnus-current-startup-file)) 2813 (gnus-message 8 "Saving %s...done" gnus-current-startup-file))