fix: doom-module-locate-path: try load-suffixes
This commit is contained in:
parent
fef7c27bbc
commit
19f9e1fdd7
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ returns nil, otherwise an absolute path."
|
|||
(if file
|
||||
;; PERF: locate-file-internal is a little faster for finding files,
|
||||
;; but its interface for finding directories is clumsy.
|
||||
(locate-file-internal path doom-modules-dirs)
|
||||
(locate-file-internal path doom-modules-dirs '(".elc" ".el"))
|
||||
(cl-loop for default-directory in doom-modules-dirs
|
||||
if (file-exists-p path)
|
||||
return (expand-file-name path)))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue