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
commit 8325ed5a9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
`doom--help-major-mode-module-alist')."
(interactive
(mapcar #'intern
(split-string
(completing-read "Describe module: "
(doom--help-modules-list)
nil t nil nil
(doom--help-current-module-str))
" " t)))
(nconc
(mapcar #'intern
(split-string
(completing-read "Describe module: "
(doom--help-modules-list)
nil t nil nil
(doom--help-current-module-str))
" " t))
(list current-prefix-arg)))
(cl-check-type category symbol)
(cl-check-type module symbol)
(cl-destructuring-bind (module-string path)