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

@ -38,6 +38,7 @@
(map! :map LaTeX-mode-map "C-j" nil)
(def-package! company-auctex
:when (featurep! :completion company)
:init
(set! :company-backend 'LaTeX-mode '(company-auctex))))
@ -74,8 +75,10 @@
(map! :map bibtex-mode-map "C-c \\" 'bibtex-fill-entry))
(def-package! ivy-bibtex
:when (featurep! :completion ivy)
:commands ivy-bibtex)
(def-package! helm-bibtex
:when (featurep! :completion helm)
:commands helm-bibtex)