lang/latex: use +latex-bibtex-file
This commit is contained in:
parent
66d23e39bb
commit
3873ab3875
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
||||||
;;; lang/latex/+ref.el -*- lexical-binding: t; -*-
|
;;; 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
|
(def-package! reftex
|
||||||
:hook (LaTeX-mode . reftex-mode)
|
:hook (LaTeX-mode . reftex-mode)
|
||||||
:config
|
:config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue