lang/latex: remove +latex-bibtex-file
An unnecessary layer of abstraction on top of two straight-forward variables, reftex-default-bibliography and bibtex-completion-bibliography.
This commit is contained in:
parent
c3c9c01bad
commit
9f249de569
1 changed files with 2 additions and 7 deletions
|
@ -18,10 +18,9 @@
|
|||
(?t . "\\textcite[]{%l}"))
|
||||
reftex-plug-into-AUCTeX t
|
||||
reftex-toc-split-windows-fraction 0.3)
|
||||
(when +latex-bibtex-file
|
||||
(setq reftex-default-bibliography (list (expand-file-name +latex-bibtex-file))))
|
||||
(map! :map reftex-mode-map
|
||||
:localleader ";" 'reftex-toc)
|
||||
:localleader
|
||||
";" 'reftex-toc)
|
||||
(add-hook! 'reftex-toc-mode-hook
|
||||
(reftex-toc-rescan)
|
||||
(map! :map 'local
|
||||
|
@ -36,7 +35,3 @@
|
|||
bibtex-align-at-equal-sign t
|
||||
bibtex-text-indentation 20)
|
||||
(define-key bibtex-mode-map (kbd "C-c \\") #'bibtex-fill-entry))
|
||||
|
||||
(after! bibtex-completion
|
||||
(when +latex-bibtex-file
|
||||
(setq bibtex-completion-bibliography (list (expand-file-name +latex-bibtex-file)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue