diff options
| author | Alan Mackenzie | 2017-02-12 10:59:03 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2017-02-12 10:59:03 +0000 |
| commit | f4d5b687150810129b7a1d5b006e31ccf82b691b (patch) | |
| tree | 4229b13800349032697daae3904dc3773e6b7a80 /lisp/gnus/gnus-start.el | |
| parent | d5514332d4a6092673ce1f78fadcae0c57f7be64 (diff) | |
| parent | 148100d98319499f0ac6f57b8be08cbd14884a5c (diff) | |
| download | emacs-comment-cache.tar.gz emacs-comment-cache.zip | |
Merge branch 'master' into comment-cachecomment-cache
Diffstat (limited to 'lisp/gnus/gnus-start.el')
| -rw-r--r-- | lisp/gnus/gnus-start.el | 9 |
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)) |