summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-email.el
diff options
context:
space:
mode:
Diffstat (limited to 'custom/jao-custom-email.el')
-rw-r--r--custom/jao-custom-email.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/custom/jao-custom-email.el b/custom/jao-custom-email.el
index a315c25..46fdd12 100644
--- a/custom/jao-custom-email.el
+++ b/custom/jao-custom-email.el
@@ -1,10 +1,16 @@
;; -*- lexical-binding: t; -*-
+;;; main email system
+(require 'jao-afio)
+(setq jao-afio-mail-function 'gnus)
+(setq jao-afio-mail-function 'notmuch)
+
+(defvar jao-notmuch-enabled (eq jao-afio-mail-function 'notmuch))
+
;;; personal emails and others
(defvar jao-mails)
(defvar jao-extra-mails)
(defvar jao-mails-regexp (regexp-opt jao-mails))
-(defvar jao-notmuch-enabled (eq jao-afio-mail-function 'notmuch))
;;; gnus
(setq gnus-init-file "~/.emacs.d/gnus.el"
@@ -305,5 +311,7 @@
(jao-consult-add-buffer-source 'jao-mail-consult-source)
+(require 'jao-custom-notmuch)
+
;;; .
(provide 'jao-custom-email)