General refactor & cleanup
This commit is contained in:
parent
633e693cab
commit
816df321a5
15 changed files with 34 additions and 41 deletions
|
@ -260,8 +260,8 @@ include all modules, enabled or otherwise."
|
|||
(error "doom-modules is uninitialized")))
|
||||
|
||||
(defun doom--module-paths (&optional append-file)
|
||||
"Returns a list of absolute file paths to modules, with APPEND-FILE added, if
|
||||
the file exists."
|
||||
"Returns a list of absolute file paths to activated modules, with APPEND-FILE
|
||||
added, if the file exists."
|
||||
(let (paths)
|
||||
(dolist (pair (doom--module-pairs) (nreverse paths))
|
||||
(let ((path (doom-module-path (car pair) (cdr pair) append-file)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue