about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-05-03 17:11:59 -0500
committerCase Duckworth2021-05-03 17:11:59 -0500
commit47868840de23c85d89e171565b89c3c84dca03dd (patch)
tree9be2f0c70482cf12dbf7c3d443fd6d8c34587bf4
parentAdd `winum' (diff)
downloademacs-47868840de23c85d89e171565b89c3c84dca03dd.tar.gz
emacs-47868840de23c85d89e171565b89c3c84dca03dd.zip
Move hooks to a better spot for Gnus Cloud
-rw-r--r--gnus.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/gnus.el b/gnus.el index e3a0f49..59275fd 100644 --- a/gnus.el +++ b/gnus.el
@@ -32,6 +32,8 @@
32(setq gnus-cloud-method "nnimap:fastmail.com" 32(setq gnus-cloud-method "nnimap:fastmail.com"
33 gnus-cloud-storage-method 'base64 ; Don't always have GPG or gzip 33 gnus-cloud-storage-method 'base64 ; Don't always have GPG or gzip
34 ) 34 )
35(add-hook 'gnus-started-hook #'gnus-cloud-download-all-data)
36(add-hook 'gnus-exit-gnus-hook #'gnus-cloud-upload-all-data)
35 37
36;;; Gnus subscriptions 38;;; Gnus subscriptions
37(setq gnus-options-subscribe (rx (or ;; all alternatives go under this 39(setq gnus-options-subscribe (rx (or ;; all alternatives go under this
@@ -140,10 +142,6 @@
140 smtpmail-smtp-user "acdw@fastmail.com" 142 smtpmail-smtp-user "acdw@fastmail.com"
141 message-kill-buffer-on-exit t) 143 message-kill-buffer-on-exit t)
142 144
143;;; Hooks
144(add-hook 'gnus-started-hook #'gnus-cloud-download-all-data)
145(add-hook 'gnus-exit-gnus-hook #'gnus-cloud-upload-all-data)
146
147;;; Packages 145;;; Packages
148 146
149;; searching (?) 147;; searching (?)