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

@@ -15,11 +15,11 @@
:mode "\\.md\\'")
(use-package sql-indent
:load-path "lisp/sql-indent"
:load-path (lambda() (concat config-dir "lisp/sql-indent"))
:commands sqlind-minor-mode)
(use-package systemd
:load-path "lisp/systemd"
:load-path (lambda() (concat config-dir "lisp/systemd"))
:commands systemd-mode
:mode (("\\.service\\'" . systemd-mode) ("\\.mount\\'" . systemd-mode)))