summaryrefslogtreecommitdiff
path: root/.config/emacs/config.org
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-20 20:08:10 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-20 20:08:10 +0200
commit5eb9a66bd3b1a61f7ec20ee90c0430f0919cb5c3 (patch)
treea29023c77717fafe165480035b60deb70d3f1b1a /.config/emacs/config.org
parentdf913548ee9079109c9f53cd9e5a1b7d865a13b6 (diff)
emacs: Automatically add projects to project list
Diffstat (limited to '.config/emacs/config.org')
-rw-r--r--.config/emacs/config.org13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org
index 5c3fe3b..53119e4 100644
--- a/.config/emacs/config.org
+++ b/.config/emacs/config.org
@@ -822,6 +822,19 @@ every time. I would like to have this buffer, but only when things go wrong.
#+END_SRC
+*** Projects
+
+I want to have all my projects automatically added to the project list.
+
+#+BEGIN_SRC elisp
+
+ (project-remember-projects-under
+ (or (getenv "REPODIR")
+ (expand-file-name "code/repo" (getenv "HOME")))
+ 'recursive)
+
+#+END_SRC
+
** User Interface
The default Emacs UI is fucking atrocious — we need to make it better.