Expand on doom-module-load-path's docstring

Mention that value in the returned list is always doom-private-dir.
This commit is contained in:
Henrik Lissner 2019-08-21 00:10:24 -04:00
parent 0b2b5d1c6c
commit 40e6a37652
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -206,7 +206,7 @@ If ENABLED-ONLY, return nil if the containing module isn't enabled."
The list is in no particular order and its file paths are absolute. If The list is in no particular order and its file paths are absolute. If
MODULE-DIRS is non-nil, include all modules (even disabled ones) available in MODULE-DIRS is non-nil, include all modules (even disabled ones) available in
those directories." those directories. The first returned path is always `doom-private-dir'."
(declare (pure t) (side-effect-free t)) (declare (pure t) (side-effect-free t))
(append (list doom-private-dir) (append (list doom-private-dir)
(if module-dirs (if module-dirs