fixed broken hook

This commit is contained in:
Patrick Elliott 2018-07-12 19:52:54 +02:00
parent c93c595ba3
commit 9eccdd5c1b

View file

@ -196,8 +196,11 @@
(def-package! company-auctex
:when (featurep! :completion company)
:hook (LaTeX-mode . ((make-local-variable 'company-backends)
(company-auctex-init))))
:after latex
:config
(add-hook! LaTeX-mode
(make-local-variable 'company-backends)
(company-auctex-init)))
;; Nicely indent lines that have wrapped when visual line mode is activated
(def-package! adaptive-wrap