Removed bibtex dir variable

This commit is contained in:
Patrick Elliott 2018-07-18 09:16:23 +02:00
parent 00322883d7
commit ed4f7301ba

View file

@ -3,9 +3,6 @@
(defvar +latex-bibtex-file "" (defvar +latex-bibtex-file ""
"File AUCTeX (specifically RefTeX) uses to search for citations.") "File AUCTeX (specifically RefTeX) uses to search for citations.")
(defvar +latex-bibtex-dir ""
"Where bibtex files are kept.")
(defvar +latex-indent-level-item-continuation 4 (defvar +latex-indent-level-item-continuation 4
"Custom indentation level for items in enumeration-type environments") "Custom indentation level for items in enumeration-type environments")
@ -187,10 +184,7 @@
(after! bibtex-completion (after! bibtex-completion
(unless (string-empty-p +latex-bibtex-file) (unless (string-empty-p +latex-bibtex-file)
(setq bibtex-completion-bibliography (list (expand-file-name +latex-bibtex-file)))) (setq bibtex-completion-bibliography (list (expand-file-name +latex-bibtex-file)))))
(unless (string-empty-p +latex-bibtex-dir)
(setq bibtex-completion-library-path (list +latex-bibtex-dir)
bibtex-completion-notes-path (expand-file-name "notes.org" +latex-bibtex-dir))))
(def-package! company-auctex (def-package! company-auctex
:when (featurep! :completion company) :when (featurep! :completion company)