From 5eb9a66bd3b1a61f7ec20ee90c0430f0919cb5c3 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 20 Aug 2023 20:08:10 +0200 Subject: emacs: Automatically add projects to project list --- .config/emacs/config.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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. -- cgit v1.2.3