From 00322883d7cd5101b514d8254fee02211f1325e3 Mon Sep 17 00:00:00 2001 From: Patrick Elliott Date: Fri, 13 Jul 2018 18:50:10 +0200 Subject: [PATCH] Company-reftex should be conditional on company --- modules/lang/latex/config.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/lang/latex/config.el b/modules/lang/latex/config.el index 40089ecaf..0b169fc21 100644 --- a/modules/lang/latex/config.el +++ b/modules/lang/latex/config.el @@ -165,7 +165,6 @@ bibtex-text-indentation 20) (define-key bibtex-mode-map (kbd "C-c \\") #'bibtex-fill-entry)) - (def-package! auctex-latexmk :when (featurep! +latexmk) :after-call (latex-mode-hook LaTeX-mode-hook) @@ -178,12 +177,10 @@ ;; Add latexmk as a TeX target (auctex-latexmk-setup)) - (def-package! ivy-bibtex :when (featurep! :completion ivy) :commands ivy-bibtex) - (def-package! helm-bibtex :when (featurep! :completion helm) :commands helm-bibtex) @@ -210,6 +207,7 @@ company-backends))))) (def-package! company-reftex + :when (featurep! :completion company) :after reftex :config (set-company-backend! 'reftex-mode 'company-reftex-labels 'company-reftex-citations))