mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
feat(default): add use consult-man if available
`consult-man` is a better version of `man` that computes its candidates asynchronously and allows the user to pass arguments directly to the man command. It's basically like `consult-grep` but for `man`.
This commit is contained in:
committed by
Henrik Lissner
parent
7a75030458
commit
20393c7074
@ -25,7 +25,8 @@ generate `completing-read' candidates."
|
||||
(interactive)
|
||||
(call-interactively
|
||||
(if (and (not IS-MAC) (executable-find "man"))
|
||||
#'man
|
||||
(or (command-remapping #'man)
|
||||
#'man)
|
||||
#'woman)))
|
||||
|
||||
;;;###autoload
|
||||
|
Reference in New Issue
Block a user