home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b42ea31e91202c4405463e81f2d4235dc4e2cefb
parent 4062ab2037b2439388ad00b3a3d9058a3661713e
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu,  2 Apr 2020 18:31:49 +0200

setup-mails.el: try to load `gnus' on demand 👼

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/setup-mails.el | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/tools/emacs/config/setup-mails.el b/tools/emacs/config/setup-mails.el @@ -18,6 +18,8 @@ ;; GnusCfg (use-package gnus + :defer t + :commands (gnus) :config (setq nnml-directory "~/desktop/gnus/mail") (setq nnfolder-directory "~/desktop/gnus/archive") @@ -85,6 +87,7 @@ ;; GnusAgent (use-package gnus-agent + :defer t :after gnus :config (setq gnus-agent-article-alist-save-format 1) ; uncompressed @@ -102,6 +105,7 @@ ;; GnusAsync (use-package gnus-async + :defer t :after gnus :config (setq gnus-asynchronous t) @@ -110,6 +114,7 @@ ;; GnusGroup (use-package gnus-group + :defer t :after gnus :config (setq gnus-level-subscribed 6) @@ -129,6 +134,7 @@ ;; GnusTopic (use-package gnus-topic + :defer t :after (gnus gnus-group) :config (setq gnus-topic-display-empty-topics t) @@ -138,6 +144,7 @@ ;; GnusSummary (use-package gnus-sum + :defer t :after (gnus gnus-group) :demand :config @@ -184,6 +191,7 @@ ;; GnusDired (use-package gnus-dired + :defer t :after (gnus dired) :hook (dired-mode . gnus-dired-mode)) ;; -GnusDired