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

@@ -51,7 +51,7 @@
(setq srecode-map-save-file (concat user-cache-directory "cedet/srecode-map.el")))
(use-package srefactor ;; https://melpa.org/#/srefactor
:load-path "lisp/srefactor"
:load-path (lambda() (concat config-dir "lisp/srefactor"))
:defer 2) ;; Loads after 2 seconds of idle time.
(use-package srefactor-lisp