mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/latex: use +latex-bibtex-file
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user