From effc1cc551466bb58fa59e88ee0399b5cc0c0118 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Tue, 23 Nov 2021 16:29:52 -0800 Subject: [PATCH] Make it easy to reload all my configuration files --- bootstrap.org | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bootstrap.org b/bootstrap.org index 36d7187..318b747 100644 --- a/bootstrap.org +++ b/bootstrap.org @@ -146,8 +146,16 @@ We can test/debug/reload any individual file, via: And we can now load everything: #+BEGIN_SRC emacs-lisp - (dolist (file ha-hamacs-files) - (ha-hamacs-load file)) + (defun ha-hamacs-reload-all () + "Reload our entire ecosystem of configuration files." + (interactive) + (dolist (file ha-hamacs-files) + (ha-hamacs-load file))) +#+END_SRC + +And do it: +#+BEGIN_SRC emacs-lisp + (ha-hamacs-reload-all) #+END_SRC * Technical Artifacts :noexport: Let's provide a name so that the file can be required: