Major refactor: use-package-always-defer = nil & use :hook

Possibly breaking change: packages are no longer deferred by default.

Addresses #286
This commit is contained in:
Henrik Lissner 2017-12-08 22:33:12 -05:00
parent 2cbd1b9107
commit 9d81bc5a8b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
45 changed files with 90 additions and 151 deletions

View file

@ -1,7 +1,6 @@
;;; ui/doom-modeline/config.el -*- lexical-binding: t; -*-
(def-package! eldoc-eval
:demand t
:config
(defun +doom-modeline-eldoc (text)
(concat (when (display-graphic-p)
@ -28,7 +27,7 @@
;; anzu and evil-anzu expose current/total state that can be displayed in the
;; mode-line.
(def-package! evil-anzu
:when (featurep 'evil)
:requires evil
:init
(add-transient-hook! #'evil-ex-start-search (require 'evil-anzu))
(add-transient-hook! #'evil-ex-start-word-search (require 'evil-anzu))