summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa2024-11-15 02:56:17 +0800
committernoa2024-11-15 02:56:17 +0800
commit27f487d06eb8adb0456b47827158eddb0c89fd14 (patch)
tree035182cc5a9a0625065a5aa2af6041c6e56243d4 /emacs
parent499724bacbf0b5cb3ed04f289e977e7e131c2f3b (diff)
Move load-path additions into package's individual use-package configurations
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 90ceb01..bd52da8 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -8,8 +8,8 @@
 ;; (profiler-start 'cpu+mem)
 
 (add-to-list 'load-path (expand-file-name (concat user-emacs-directory "site-lisp")))
-(add-to-list 'load-path (expand-file-name "~/Documents/Projects/2024-10-08 Ctrlj"))
-(add-to-list 'load-path (expand-file-name "~/Documents/Projects/2024-09-17 Tubthumping theme"))
+;; (add-to-list 'load-path (expand-file-name "~/Documents/Projects/2024-10-08 Ctrlj"))
+;; (add-to-list 'load-path (expand-file-name "~/Documents/Projects/2024-09-17 Tubthumping theme"))
 
 (add-to-list 'exec-path "/home/noa/.config/Scripts")
 
@@ -56,6 +56,7 @@
 
 ;; This is my emacs theme.  It's a monochrome theme which, unlike most monochrome themes, really does have only two colours.  I define a few faces, and set every other face as one of them.  There are a few things i want to do with it before i make it properly public: make the colours configurable and able to update on the fly, and in general iron out some of the janky parts.  A few things defined it are quite specific to this configuration, like the way i define the borders for the tab and header bars, and there is no mode line configuration because i don't use it.
 (use-package tubthumping-theme
+  :load-path"~/Documents/Projects/2024-09-17 Tubthumping theme"
   :config
   (load-theme 'tubthumping t))
 
@@ -759,6 +760,7 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
     (kill-new (file-name-nondirectory (buffer-file-name)))))
 
 (use-package ctrlj
+  :load-path "~/Documents/Projects/2024-10-08 Ctrlj"
   :init (global-unset-key (kbd "C-j"))
   :bind* (("<menu>" . ctrlj/open-note)
          ("C-j C-j" . ctrlj/open-note)