From 43865f1c1fcaa84e37faf6b3ddd868241515ae14 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 17 Jun 2022 23:15:34 +0300 Subject: [PATCH] Add Project management section --- .emacs.d/esy.org | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.emacs.d/esy.org b/.emacs.d/esy.org index fb6a3ee..12eb862 100644 --- a/.emacs.d/esy.org +++ b/.emacs.d/esy.org @@ -1408,7 +1408,25 @@ without asking each time. (setq vc-follow-symlinks t) #+end_src -* Project switch commands +* Project management +:PROPERTIES: +:CUSTOM_ID: project-management +:END: +** Populate project list from my projects directory +:PROPERTIES: +:CUSTOM_ID: remember-projects-under-directory +:END: + +#+begin_src emacs-lisp + (defconst esy/projects-directory "~/checkouts" + "Path of the projects directory.") + + (add-hook 'kill-emacs-hook + (lambda () (project-remember-projects-under + esy/projects-directory))) +#+end_src + +** Project switch commands :PROPERTIES: :CUSTOM_ID: project-switch-commands :END: -- 2.39.5