Make it easy to reload all my configuration files
This commit is contained in:
parent
4d1f869f9d
commit
effc1cc551
1 changed files with 10 additions and 2 deletions
|
@ -146,8 +146,16 @@ We can test/debug/reload any individual file, via:
|
||||||
|
|
||||||
And we can now load everything:
|
And we can now load everything:
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(defun ha-hamacs-reload-all ()
|
||||||
|
"Reload our entire ecosystem of configuration files."
|
||||||
|
(interactive)
|
||||||
(dolist (file ha-hamacs-files)
|
(dolist (file ha-hamacs-files)
|
||||||
(ha-hamacs-load file))
|
(ha-hamacs-load file)))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
And do it:
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(ha-hamacs-reload-all)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Technical Artifacts :noexport:
|
* Technical Artifacts :noexport:
|
||||||
Let's provide a name so that the file can be required:
|
Let's provide a name so that the file can be required:
|
||||||
|
|
Loading…
Reference in a new issue