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

@ -4,6 +4,8 @@
:commands restclient-mode
:mode ("\\.http$" . restclient-mode))
(def-package! company-restclient
:when (featurep! :completion company)
:after restclient
:config (set! :company-backend 'restclient-mode '(company-restclient)))