mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
Don't pollute module help warnings with text props
This commit is contained in:
@@ -379,6 +379,7 @@ current file is in, or d) the module associated with the current major mode (see
|
|||||||
(cl-destructuring-bind (module-string path)
|
(cl-destructuring-bind (module-string path)
|
||||||
(or (assoc (format "%s %s" category module) (doom--help-modules-list))
|
(or (assoc (format "%s %s" category module) (doom--help-modules-list))
|
||||||
(user-error "'%s %s' is not a valid module" category module))
|
(user-error "'%s %s' is not a valid module" category module))
|
||||||
|
(setq module-string (substring-no-properties module-string))
|
||||||
(unless (file-readable-p path)
|
(unless (file-readable-p path)
|
||||||
(error "Can't find or read %S module at %S" module-string path))
|
(error "Can't find or read %S module at %S" module-string path))
|
||||||
(cond ((not (file-directory-p path))
|
(cond ((not (file-directory-p path))
|
||||||
|
Reference in New Issue
Block a user