From 27f487d06eb8adb0456b47827158eddb0c89fd14 Mon Sep 17 00:00:00 2001 From: noa Date: Fri, 15 Nov 2024 02:56:17 +0800 Subject: Move load-path additions into package's individual use-package configurations --- emacs/init.el | 6 ++++-- 1 file 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* (("