mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Change doom/describe-module to browse module
Instead of opening its README.org, which may or may not exist.
This commit is contained in:
@ -182,10 +182,7 @@ current file is in, or d) the module associated with the current major mode (see
|
||||
(cl-check-type module symbol)
|
||||
(or (doom-module-p category module)
|
||||
(error "'%s %s' isn't a valid module" category module))
|
||||
(let ((doc-path (doom-module-path category module "README.org")))
|
||||
(unless (file-exists-p doc-path)
|
||||
(error "There is no documentation for this module (%s)" doc-path))
|
||||
(find-file doc-path)))
|
||||
(doom-project-browse (doom-module-path category module)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/describe-active-minor-mode (mode)
|
||||
|
Reference in New Issue
Block a user