Function: consult-man
consult-man is an interactive and natively compiled function defined
in consult.el.
Signature
(consult-man &optional INITIAL)
Documentation
Search for man page given INITIAL input.
The input string is not preprocessed and passed literally to the
underlying man commands. The man process is started asynchronously,
similar to consult-grep. See consult-grep for more details regarding
the asynchronous search.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
;;;###autoload
(defun consult-man (&optional initial)
"Search for man page given INITIAL input.
The input string is not preprocessed and passed literally to the
underlying man commands. The man process is started asynchronously,
similar to `consult-grep'. See `consult-grep' for more details regarding
the asynchronous search."
(interactive)
(consult--read
(consult--process-collection #'consult--man-builder
:transform (consult--async-transform #'consult--man-format)
:highlight t)
:prompt "Manual entry: "
:require-match t
:category 'consult-man
:state (consult--man-state)
:lookup (apply-partially #'consult--lookup-prop 'consult-man)
:initial initial
:add-history (thing-at-point 'symbol)
:history '(:input consult--man-history)))