From: Amin Bandali Date: Fri, 6 Sep 2019 16:07:55 +0000 (-0400) Subject: emacs: ebdb: use :demand instead of require, disable mua popup X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/24a42bb2b24e274bc5dfe36e0503a3274988f98d emacs: ebdb: use :demand instead of require, disable mua popup --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e499e4b..e88438f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2131,10 +2131,6 @@ This function is intended for use with `ivy-ignore-buffers'." gnus-interactive-exit nil gnus-gcc-mark-as-read t) :config - (require 'ebdb) - (require 'ebdb-mua) - (require 'ebdb-gnus) - (when (version< emacs-version "27") (add-to-list 'nnmail-split-abbrev-alist @@ -2349,6 +2345,7 @@ https://csclub.uwaterloo.ca/~abandali") ("s" . footnote-set-style))) (use-package ebdb + :demand :after gnus :bind (:map gnus-group-mode-map ("e" . ebdb)) :config @@ -2369,14 +2366,15 @@ https://csclub.uwaterloo.ca/~abandali") (defun company-ebdb--post-complete (_) nil)) (use-feature ebdb-gnus + :demand :after ebdb :custom (ebdb-gnus-window-size 0.3)) (use-feature ebdb-mua + :demand :after ebdb - ;; :custom (ebdb-mua-pop-up nil) - ) + :custom (ebdb-mua-pop-up nil)) ;; (use-package ebdb-message ;; :after ebdb)