Reduce def-package magic; explicitly use :when property

This commit is contained in:
Henrik Lissner 2017-03-19 22:47:50 -04:00
parent e4b5cf5a56
commit 3e63d2d23b
19 changed files with 55 additions and 37 deletions

View file

@ -32,6 +32,7 @@
;; anzu and evil-anzu make it possible to display current/total in the
;; mode-line.
(def-package! evil-anzu
:when (featurep! :feature evil)
:init
(add-transient-hook! evil-ex-start-search (require 'evil-anzu))
:config