diff --git a/config/email.org b/config/email.org index 1aeae23..f4723b7 100644 --- a/config/email.org +++ b/config/email.org @@ -295,11 +295,8 @@ ** iCalendar integration #+begin_src emacs-lisp (with-eval-after-load 'mu4e + (setopt mu4e-icalendar-diary-file (locate-user-emacs-file "diary/email.gpg") + mu4e-icalendar-trash-after-reply nil) (require 'mu4e-icalendar) - (mu4e-icalendar-setup) - (setq mu4e-icalendar-trash-after-reply nil) - (require 'gnus-icalendar) - (setq gnus-icalendar-org-capture-file (expand-file-name "diary.org" org-directory)) - (setq gnus-icalendar-org-capture-headline '("Email")) - (gnus-icalendar-org-setup)) + (mu4e-icalendar-setup)) #+end_src