lang/latex: use +latex-bibtex-file

This commit is contained in:
Henrik Lissner 2019-03-03 02:18:02 -05:00
parent 66d23e39bb
commit 3873ab3875
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1,5 +1,10 @@
;;; lang/latex/+ref.el -*- lexical-binding: t; -*-
(when (stringp +latex-bibtex-file)
(setq bibtex-completion-bibliography (list (expand-file-name +latex-bibtex-file))
reftex-default-bibliography bibtex-completion-bibliography))
(def-package! reftex
:hook (LaTeX-mode . reftex-mode)
:config