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:
parent
7a75030458
commit
20393c7074
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue