puppet layer: Remove conditional sexp for post-init-company

It is not needed in this case because a post-init does not mark
the package as used (so if there is not init function for company
it won't be installed and the post-init function won't be evaluated)
This commit is contained in:
syl20bnr 2015-05-10 12:12:12 -04:00
parent 76e3bdf4fc
commit c39f6e4b98

View file

@ -34,7 +34,5 @@
"ml" 'puppet-lint
))))
(when (configuration-layer/layer-usedp 'auto-completion)
(defun puppet/post-init-company ()
(spacemacs|add-company-hook puppet-mode))
)
(defun puppet/post-init-company ()
(spacemacs|add-company-hook puppet-mode))