Resolve symlinks in module paths
This commit is contained in:
parent
dbef763eb3
commit
60f74c7696
1 changed files with 5 additions and 4 deletions
|
@ -302,10 +302,11 @@ those directories. The first returned path is always `doom-private-dir'."
|
||||||
mplist)
|
mplist)
|
||||||
(push (car key) mplist))
|
(push (car key) mplist))
|
||||||
(throw 'doom-modules t))))
|
(throw 'doom-modules t))))
|
||||||
(push (funcall fn category module
|
(let ((path (doom-module-locate-path category module)))
|
||||||
:flags (if (listp m) (cdr m))
|
(push (funcall fn category module
|
||||||
:path (doom-module-locate-path category module))
|
:flags (if (listp m) (cdr m))
|
||||||
results))))))
|
:path (if (stringp path) (file-truename path)))
|
||||||
|
results)))))))
|
||||||
(unless doom-interactive-p
|
(unless doom-interactive-p
|
||||||
(setq doom-inhibit-module-warnings t))
|
(setq doom-inhibit-module-warnings t))
|
||||||
(nreverse results)))
|
(nreverse results)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue