diff options
Diffstat (limited to 'doom.d/modules')
-rw-r--r-- | doom.d/modules/literate.org | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doom.d/modules/literate.org b/doom.d/modules/literate.org index 5945665..9a0b7b5 100644 --- a/doom.d/modules/literate.org +++ b/doom.d/modules/literate.org @@ -57,7 +57,8 @@ A procedure that parses all the org files in a given directory into Emacs lisp files, using the parser function made. Assume all org files in the "location" directory contribute to the config. #+BEGIN_SRC elisp -(defun oreodave/literate/tangle-all (location) +(defun oreodave/literate/tangle-all (&optional location) + (or location (setq location doom-private-dir)) (interactive) (message "Starting compilation process") (let ((files (directory-files-recursively location ".org"))) |