Fix dependency chain for mu4e/gnus ical support

This commit is contained in:
Evie Litherland-Smith 2024-04-18 16:31:33 +01:00
parent 275c656277
commit 5948673361

11
init.el
View file

@ -1414,23 +1414,24 @@ Try `magit-clone-default-directory' if available, fall back to
(require 'mu4e-org)) (require 'mu4e-org))
(use-package gnus-icalendar (use-package gnus-icalendar
:after mu4e
:custom :custom
(gnus-icalendar-org-capture-file (expand-file-name "calendar/inbox.org" org-directory)) (gnus-icalendar-org-capture-file (expand-file-name "calendar/inbox.org" org-directory))
(gnus-icalendar-org-capture-headline '("Invited")) (gnus-icalendar-org-capture-headline '("Invited"))
:config (gnus-icalendar-org-setup)) :config
(require 'org-agenda)
(require 'org-capture)
(gnus-icalendar-org-setup))
(use-package mu4e-icalendar (use-package mu4e-icalendar
:after mu4e :after mu4e
:custom :custom
(mu4e-icalendar-trash-after-reply nil) (mu4e-icalendar-trash-after-reply nil)
:config :config
(mu4e-icalendar-setup)
(require 'gnus-icalendar) (require 'gnus-icalendar)
(mu4e-icalendar-setup)
(gnus-icalendar-org-setup)) (gnus-icalendar-org-setup))
(with-eval-after-load 'mu4e
(require 'mu4e-icalendar))
(use-package elfeed (use-package elfeed
:bind (("C-c f f" . elfeed) :bind (("C-c f f" . elfeed)
("C-c f u" . elfeed-update)) ("C-c f u" . elfeed-update))