fix: doom-module-locate-paths: remove file-name-sans-extension call
This was preventing its usage in :lang emacs-lisp from finding demos.org
files in modules.
Amend: 3bea4f66a8
This commit is contained in:
parent
343c3a82b0
commit
f14e7907f6
1 changed files with 1 additions and 2 deletions
|
@ -335,8 +335,7 @@ returns nil, otherwise an absolute path."
|
||||||
|
|
||||||
MODULE-LIST is a list of cons cells (GROUP . NAME). See `doom-module-list' for
|
MODULE-LIST is a list of cons cells (GROUP . NAME). See `doom-module-list' for
|
||||||
an example."
|
an example."
|
||||||
(cl-loop with file = (file-name-sans-extension file)
|
(cl-loop for (group . name) in (or module-list (doom-module-list))
|
||||||
for (group . name) in module-list
|
|
||||||
if (doom-module-locate-path group name file)
|
if (doom-module-locate-path group name file)
|
||||||
collect it))
|
collect it))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue