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:
StrawberryTea 2023-08-21 23:20:29 -04:00 committed by Henrik Lissner
parent 7a75030458
commit 20393c7074

View file

@ -25,7 +25,8 @@ generate `completing-read' candidates."
(interactive) (interactive)
(call-interactively (call-interactively
(if (and (not IS-MAC) (executable-find "man")) (if (and (not IS-MAC) (executable-find "man"))
#'man (or (command-remapping #'man)
#'man)
#'woman))) #'woman)))
;;;###autoload ;;;###autoload