From dfd86f53ade9467b1027a71cad7fd1d08b286b02 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Tue, 25 Dec 2018 03:00:28 -0500 Subject: [PATCH] [emacs] fix up a few defer-related issues also, no need for the manual company-ebdb hook in version 1.1 --- init.org | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/init.org b/init.org index 505a793..cbbd321 100644 --- a/init.org +++ b/init.org @@ -789,11 +789,8 @@ In short, my favourite way of life. ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) - t)) - -(use-package ox-beamer - :demand - :after ox) + t) + (require 'ox-beamer)) #+end_src **** asynchronous tangle @@ -2248,6 +2245,7 @@ Convenient footnotes in =message-mode=. #+begin_src emacs-lisp (use-package ebdb + :defer 2 :after gnus :bind (:map gnus-group-mode-map ("e" . ebdb)) :config @@ -2264,16 +2262,12 @@ Convenient footnotes in =message-mode=. ;; (ebdb-complete-enable)) (use-package company-ebdb - :after (:all company message) + :defer 2 :config - (defun company-ebdb--post-complete (_) nil) - :hook - (message-mode . (lambda () - (add-to-list (make-local-variable 'company-backends) - 'company-ebdb)))) + (defun company-ebdb--post-complete (_) nil)) (use-package ebdb-gnus - :demand + :defer 3 :after ebdb :custom (ebdb-gnus-window-configuration @@ -2285,7 +2279,7 @@ Convenient footnotes in =message-mode=. (ebdb-gnus 0.3)))))) (use-package ebdb-mua - :demand + :defer 3 :after ebdb ;; :custom (ebdb-mua-pop-up nil) ) -- 2.20.1