summaryrefslogtreecommitdiffhomepage
path: root/email.org
diff options
context:
space:
mode:
Diffstat (limited to 'email.org')
-rw-r--r--email.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/email.org b/email.org
index 8dec9ac..48eded8 100644
--- a/email.org
+++ b/email.org
@@ -334,6 +334,12 @@
gnus-home-directory "~/.emacs.d/gnus"
gnus-directory gnus-home-directory
mail-source-directory (expand-file-name "Mail" gnus-home-directory))
+
+ (when (eq jao-afio-mail-function 'gnus)
+ (let ((org-file (expand-file-name "gnus.org" jao-emacs-dir)))
+ (when (file-newer-than-file-p org-file gnus-init-file)
+ (org-babel-tangle-file org-file))))
+
#+end_src
*** Notifications
#+begin_src emacs-lisp