From 924ddee521be5b5f7109f34930899627fa3a251b Mon Sep 17 00:00:00 2001
From: jjanzen <jjanzen@jjanzen.ca>
Date: Thu, 9 Jan 2025 16:37:56 -0600
Subject: system changes

---
 common/.config/emacs/init.el.org | 24 +++++-------------------
 1 file changed, 5 insertions(+), 19 deletions(-)

(limited to 'common')

diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org
index 186d449..c9d35e0 100644
--- a/common/.config/emacs/init.el.org
+++ b/common/.config/emacs/init.el.org
@@ -10,15 +10,11 @@ Force the use of a =custom.el= file instead of appending to =init.el=.
 
 Make Emacs use the correct =PATH= variable as macOS fails to load the =PATH= variable from my login shell.
 #+begin_src emacs-lisp
-  (defun jj/set-exec-path-from-shell-PATH ()
-    "Load the login shell's PATH variable manually because macOS doesn't behave well."
-    (interactive)
-    (let ((path-from-shell (replace-regexp-in-string
-                            "[ \t\n]*$" "" (shell-command-to-string
-                                            "$SHELL --login -c 'echo $PATH'"))))
-      (setenv "PATH" path-from-shell)
-      (setq exec-path (split-string path-from-shell path-separator))))
-  (jj/set-exec-path-from-shell-PATH)
+  (let ((path-from-shell (replace-regexp-in-string
+                          "[ \t\n]*$" "" (shell-command-to-string
+                                          "$SHELL --login -c 'echo $PATH'"))))
+    (setenv "PATH" path-from-shell)
+    (setq exec-path (split-string path-from-shell path-separator)))
 #+end_src
 
 Suppress native compilation warnings and errors. Native compilation seems to be a little broken on macOS and the warnings are just annoying.
@@ -326,16 +322,6 @@ Configure and install =elfeed= to serve as an =rss= feed reader. It stores the f
     (setq rmh-elfeed-org-files (list "~/.config/emacs/feed.org")))
 #+end_src
 
-Set up =deft= for quick notes.
-#+begin_src emacs-lisp
-  (use-package deft
-    :bind
-    ("C-c d" . deft)
-    :config
-    (setq deft-directory "~/notes/"
-          deft-default-extension "org"))
-#+end_src
-
 * Languages
 
 Configure =org-mode=. I use =~/org= as my =org= directory and hide emphasis markers because it's much easier to read that way. I enable =org-crypt= to allow reading and writing encrypted =org= files. I also replace bullets in bulleted lists with nicer looking icons. I configure faces to default to variable-width font, but switching to monospace where it is necessary. Finally, I use =visual-fill-column= to make =org= files display with a relatively narrow window centred in the frame.
-- 
cgit v1.2.3