Put company features behind conditional

This commit is contained in:
Patrick Elliott 2018-08-21 13:44:11 +02:00
parent 9e08620350
commit dbca4eef12
No known key found for this signature in database
GPG key ID: 7CA109C3974AF5FA
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,5 @@
;;; lang/coq/autoload.el -*- lexical-binding: t; -*-
;;;###if (featurep! :completion company)
;;;###autoload
(add-hook 'coq-mode-hook #'company-coq-mode)

View file

@ -3,4 +3,5 @@
(package! proof-general :recipe (:fetcher github :repo "ProofGeneral/PG" :files ("*")))
(package! company-coq)
(when (featurep! :completion company)
(package! company-coq))