diff options
author | Case Duckworth | 2021-05-03 11:45:50 -0500 |
---|---|---|
committer | Case Duckworth | 2021-05-03 11:45:50 -0500 |
commit | 2e53f03bb03e663298f1f098b47b75c2ce2ece56 (patch) | |
tree | fa152d4ab797bb258c7374277b7ffcf5a9fed74d | |
parent | Merge branch 'main' of https://tildegit.org/acdw/emacs (diff) | |
download | emacs-2e53f03bb03e663298f1f098b47b75c2ce2ece56.tar.gz emacs-2e53f03bb03e663298f1f098b47b75c2ce2ece56.zip |
Add hooks to download and upload gnus data to the cloud
Gnus Cloud ... sort of works? I'm honestly not sure about it, lol.
-rw-r--r-- | gnus.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnus.el b/gnus.el index 846966d..eacce0f 100644 --- a/gnus.el +++ b/gnus.el | |||
@@ -139,6 +139,10 @@ | |||
139 | smtpmail-smtp-user "acdw@fastmail.com" | 139 | smtpmail-smtp-user "acdw@fastmail.com" |
140 | message-kill-buffer-on-exit t) | 140 | message-kill-buffer-on-exit t) |
141 | 141 | ||
142 | ;;; Hooks | ||
143 | (add-hook 'gnus-started-hook #'gnus-cloud-download-all-data) | ||
144 | (add-hook 'gnus-exit-gnus-hook #'gnus-cloud-upload-all-data) | ||
145 | |||
142 | ;;; Packages | 146 | ;;; Packages |
143 | 147 | ||
144 | ;; searching (?) | 148 | ;; searching (?) |