From 36435f410e114276820987683d1653f56dd98414 Mon Sep 17 00:00:00 2001 From: AChavali Date: Tue, 31 Dec 2019 00:28:26 +0000 Subject: ~made location an optional argument in tangle-all --- doom.d/modules/literate.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doom.d/modules/literate.org') 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"))) -- cgit v1.2.3-13-gbd6f