add config-dir variable and change load-path to use it

This commit is contained in:
2021-05-13 20:43:07 +02:00
parent 9723323a29
commit e13e08068b
22 changed files with 52 additions and 50 deletions

View File

@@ -16,15 +16,15 @@
;;; Code:
(use-package pdf-tools
:load-path "lisp/pdf-tools"
:load-path (lambda() (concat config-dir "lisp/pdf-tools"))
:defer t) ;; used by org-ref
(use-package biblio
:load-path "lisp/biblio"
:load-path (lambda() (concat config-dir "lisp/biblio"))
:defer t) ;; used by org-ref
(use-package org-ref ;; used with some preamble defs and \printbibliography (biblatex/biber, no html export), see also ox-bibtex
:load-path "lisp/org-ref"
:load-path (lambda() (concat config-dir "lisp/org-ref"))
:after (org)
:defer 1
:init