aboutsummaryrefslogtreecommitdiff
path: root/doom.d/modules/literate.org
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2019-12-30 23:28:52 +0000
committerAChavali <aryadevchavali1@gmail.com>2019-12-30 23:28:52 +0000
commitbc0eb86b03b4e5ab70598280acb91c063827acf0 (patch)
tree86eebc1009fac454db1661d5ed902dc5cf260b9c /doom.d/modules/literate.org
parent0fb7c802f20227b4865a9ca7fb740ef88f33728e (diff)
downloaddotfiles-bc0eb86b03b4e5ab70598280acb91c063827acf0.tar.gz
dotfiles-bc0eb86b03b4e5ab70598280acb91c063827acf0.tar.bz2
dotfiles-bc0eb86b03b4e5ab70598280acb91c063827acf0.zip
~variadic-remove -> remove-mult
Diffstat (limited to 'doom.d/modules/literate.org')
-rw-r--r--doom.d/modules/literate.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/doom.d/modules/literate.org b/doom.d/modules/literate.org
index 6f8208b..dba59b0 100644
--- a/doom.d/modules/literate.org
+++ b/doom.d/modules/literate.org
@@ -17,7 +17,7 @@ specific remove function that will remove entries from a given list and return
the new list, given the fact that the files variable will be a list of fully
expanded file names.
#+BEGIN_SRC elisp
-(defun oreodave/literate/variadic-remove (remove-files files)
+(defun oreodave/literate/remove-mult (remove-files files)
(let ((parsed-remove-files (map 'list #'(lambda (i) (expand-file-name (concat doom-private-dir i))) remove-files)))
(remove-if-not #'(lambda (l) (not (member l parsed-remove-files))) files)))
#+END_SRC
@@ -84,6 +84,6 @@ Parse all Emacs lisp files. Then load them.
#+BEGIN_SRC elisp
(oreodave/literate/tangle-all) ; Parse
(let ((files (directory-files-recursively "~/.doom.d/" ".org"))) ; Load
- (dolist (file (oreodave/literate/variadic-remove (list "config.org" "modules/literate.org") files))
(load! (replace-regexp-in-string ".org" ".el" file))))
+ (dolist (file (oreodave/literate/remove-mult oreodave/literate/preloaded-files files))
#+END_SRC