summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-07-15 16:59:02 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-07-15 16:59:35 -0700
commit1dcbd49bf1fb3d739fab7f22e87e6c43e29b3037 (patch)
tree3123ab18ae18ea8d7a40b7411639e3d3c52cbf69
parent9a44d45168b01d17f3bc29b0bb348eb28b9d9d2f (diff)
downloaddotfiles-1dcbd49bf1fb3d739fab7f22e87e6c43e29b3037.tar.gz
ask about reading the Gnus dribble file if not Gnus first run
-rw-r--r--.emacs.d/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index d73588ee..d69806b8 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -201,7 +201,6 @@ windows side-by-side in the frame."
'(gc-cons-threshold 16777216)
'(gdb-many-windows t)
'(global-so-long-mode t)
- '(gnus-always-read-dribble-file t)
'(gnus-article-skip-boring t)
'(gnus-auto-center-summary nil)
'(gnus-auto-select-next 'slightly-quietly)
@@ -2721,7 +2720,8 @@ mutt's review view, after exiting EDITOR."
(not (file-exists-p "~/.newsrc.eld")))
(user-error "Must use dedicated Emacs for Gnus first run")
(let ((gc-cons-percentage 0.6)
- (gc-cons-threshold 402653184))
+ (gc-cons-threshold 402653184)
+ (gnus-always-read-dribble-file (file-exists-p "~/.newsrc.eld")))
(apply orig-fun args))))
(advice-add 'gnus :around #'spw/gnus-startup-wrapper)
(advice-add 'gnus-no-server :around #'spw/gnus-startup-wrapper)