From 2e53f03bb03e663298f1f098b47b75c2ce2ece56 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 3 May 2021 11:45:50 -0500 Subject: Add hooks to download and upload gnus data to the cloud Gnus Cloud ... sort of works? I'm honestly not sure about it, lol. --- gnus.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnus.el b/gnus.el index 846966d..eacce0f 100644 --- a/gnus.el +++ b/gnus.el @@ -139,6 +139,10 @@ smtpmail-smtp-user "acdw@fastmail.com" message-kill-buffer-on-exit t) +;;; Hooks +(add-hook 'gnus-started-hook #'gnus-cloud-download-all-data) +(add-hook 'gnus-exit-gnus-hook #'gnus-cloud-upload-all-data) + ;;; Packages ;; searching (?) -- cgit 1.4.1-21-gabe81