doom-info: use &nopath prefix for 404'd modules
The alternative is a stringp error.
This commit is contained in:
parent
b0cd0e5efe
commit
ae3a2fa8c2
1 changed files with 4 additions and 2 deletions
|
@ -157,8 +157,10 @@ ready to be pasted in a bug report on github."
|
||||||
collect
|
collect
|
||||||
(let* ((flags (doom-module-get cat (cdr key) :flags))
|
(let* ((flags (doom-module-get cat (cdr key) :flags))
|
||||||
(path (doom-module-get cat (cdr key) :path))
|
(path (doom-module-get cat (cdr key) :path))
|
||||||
(module (append (if (file-in-directory-p path doom-private-dir)
|
(module (append (cond ((null path)
|
||||||
(list '&user))
|
(list '&nopath))
|
||||||
|
((file-in-directory-p path doom-private-dir)
|
||||||
|
(list '&user)))
|
||||||
(if flags
|
(if flags
|
||||||
`(,(cdr key) ,@flags)
|
`(,(cdr key) ,@flags)
|
||||||
(list (cdr key))))))
|
(list (cdr key))))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue