aboutsummaryrefslogtreecommitdiff
path: root/doom.d/modules
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2019-12-31 00:28:26 +0000
committerAChavali <aryadevchavali1@gmail.com>2019-12-31 00:31:23 +0000
commit36435f410e114276820987683d1653f56dd98414 (patch)
treec745fbec5f30affd2a3f2a15be70e51d061184b9 /doom.d/modules
parent736b16ffb3ae01a7da1e83ed1f3cc689895a37c5 (diff)
downloaddotfiles-36435f410e114276820987683d1653f56dd98414.tar.gz
dotfiles-36435f410e114276820987683d1653f56dd98414.tar.bz2
dotfiles-36435f410e114276820987683d1653f56dd98414.zip
~made location an optional argument in tangle-all
Diffstat (limited to 'doom.d/modules')
-rw-r--r--doom.d/modules/literate.org3
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")))