Merge pull request #4416 from nbfalcon/feature/doom-help-modules-prefix-arg

`doom/help-modules': C-u -> browse directory
This commit is contained in:
Henrik Lissner
2020-12-12 12:58:14 -05:00
committed by GitHub

View File

@ -351,13 +351,15 @@ module derived from a `featurep!' or `require!' call, c) the module that the
current file is in, or d) the module associated with the current major mode (see current file is in, or d) the module associated with the current major mode (see
`doom--help-major-mode-module-alist')." `doom--help-major-mode-module-alist')."
(interactive (interactive
(nconc
(mapcar #'intern (mapcar #'intern
(split-string (split-string
(completing-read "Describe module: " (completing-read "Describe module: "
(doom--help-modules-list) (doom--help-modules-list)
nil t nil nil nil t nil nil
(doom--help-current-module-str)) (doom--help-current-module-str))
" " t))) " " t))
(list current-prefix-arg)))
(cl-check-type category symbol) (cl-check-type category symbol)
(cl-check-type module symbol) (cl-check-type module symbol)
(cl-destructuring-bind (module-string path) (cl-destructuring-bind (module-string path)