From 35e41b1ee9c0976d83c58b3aa65ca37716ca4395 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Sat, 9 Apr 2022 08:59:23 -0700 Subject: [PATCH] Allow non-loaded HAMACS file to be loaded later While I don't want to automatically load all my projects (for instance, for programming languages I don't use much), after loading all files, I then put the rest in the list, allowing me to load them later. --- bootstrap.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bootstrap.org b/bootstrap.org index 2e146c7..c9d87b8 100644 --- a/bootstrap.org +++ b/bootstrap.org @@ -236,6 +236,14 @@ And do it: #+BEGIN_SRC emacs-lisp (ha-hamacs-reload-all) #+END_SRC + +Once we have loaded /my world/, let’s add every other Org file in the project to the list, so that I can easily bring more stuff. +#+BEGIN_SRC emacs-lisp + (setq ha-hamacs-files + (-uniq + (append ha-hamacs-files + (directory-files "~/other/hamacs" nil (rx ".org" eos))))) +#+END_SRC * Technical Artifacts :noexport: Let's provide a name so that the file can be required: