diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/init.el b/init.el index 8d17de2..d7f7d8c 100644 --- a/init.el +++ b/init.el | |||
@@ -465,7 +465,7 @@ | |||
465 | (setup notmuch | 465 | (setup notmuch |
466 | (:load-from "~/usr/share/emacs/site-lisp/") | 466 | (:load-from "~/usr/share/emacs/site-lisp/") |
467 | ;;(:load-after org-contacts) | 467 | ;;(:load-after org-contacts) |
468 | (:also-load +notmuch) | 468 | (:also-load +notmuch +message) |
469 | (+define-dir notmuch/ (sync/ "emacs/notmuch") | 469 | (+define-dir notmuch/ (sync/ "emacs/notmuch") |
470 | "Notmuch configuration and data.") | 470 | "Notmuch configuration and data.") |
471 | (:option notmuch-init-file (notmuch/ "notmuch-init.el" t) | 471 | (:option notmuch-init-file (notmuch/ "notmuch-init.el" t) |
@@ -473,7 +473,8 @@ | |||
473 | notmuch-address-use-company (featurep 'company) | 473 | notmuch-address-use-company (featurep 'company) |
474 | notmuch-search-oldest-first nil) | 474 | notmuch-search-oldest-first nil) |
475 | ;; Composing mail | 475 | ;; Composing mail |
476 | (:option message-kill-buffer-on-exit t) | 476 | (:option message-kill-buffer-on-exit t |
477 | message-auto-save-directory "~/var/mail/drafts") | ||
477 | ;; Sending mail | 478 | ;; Sending mail |
478 | (:option send-mail-function #'sendmail-send-it | 479 | (:option send-mail-function #'sendmail-send-it |
479 | mail-specify-envelope-from t | 480 | mail-specify-envelope-from t |
@@ -482,7 +483,7 @@ | |||
482 | ;; Extras and fixes | 483 | ;; Extras and fixes |
483 | (with-eval-after-load 'notmuch | 484 | (with-eval-after-load 'notmuch |
484 | (load notmuch-init-file :noerror) | 485 | (load notmuch-init-file :noerror) |
485 | ;;(add-hook 'notmuch-show-mode-hook #'visual-fill-column-mode) | 486 | (add-hook 'message-setup-hook #'+message-signature-setup) |
486 | (add-hook 'message-send-hook #'+send-mail-dispatch) | 487 | (add-hook 'message-send-hook #'+send-mail-dispatch) |
487 | (advice-add 'notmuch-tag :filter-args #'+notmuch-correct-tags) | 488 | (advice-add 'notmuch-tag :filter-args #'+notmuch-correct-tags) |
488 | (:option notmuch-saved-searches (list | 489 | (:option notmuch-saved-searches (list |