From 3308eabe0ee401f5a2abf5e59f03cc79e862904a Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 6 Aug 2017 11:44:03 +0200 Subject: [PATCH] =?UTF-8?q?[Init]=20Globally=20add=20site-lisp=20directory?= =?UTF-8?q?=20to=20=E2=80=98load-path=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.el | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/init.el b/init.el index 9871ed2..ede4852 100644 --- a/init.el +++ b/init.el @@ -35,6 +35,8 @@ (use-package auto-compile :ensure t) +(add-to-list 'load-path (expand-file-name "site-lisp" emacs-d)) + ;; * Mode activation @@ -206,7 +208,6 @@ ;; * Builtin Variables (use-package db-private - :load-path "site-lisp" :defines (db/personal-mail-address db/work-mail-address db/jabber-id @@ -448,8 +449,7 @@ :config (progn (bind-key [remap org-return] 'org-return-indent org-mode-map) - (use-package db-org - :load-path "site-lisp") + (use-package db-org) ;; avoid important buffers to end up in `org-agenda-new-buffers’ by ;; opening them manually @@ -506,7 +506,6 @@ Current Task: %`org-clock-current-task; " crux-cleanup-buffer-or-region)) (use-package db-utils - :load-path "site-lisp/" :commands (endless/fill-or-unfill db/delete-trailing-whitespace-maybe db/go-dark @@ -517,8 +516,7 @@ Current Task: %`org-clock-current-task; " db/run-or-hide-ansi-term db/helm-shortcuts)) -(use-package db-emacsclient - :load-path "site-lisp/") +(use-package db-emacsclient) (use-package hydra :commands (hydra-toggle/body