Function: consult--man-action

consult--man-action is a byte-compiled function defined in consult.el.

Signature

(consult--man-action PAGE &optional NODISPLAY)

Documentation

Create man PAGE buffer, do not display if NODISPLAY is non-nil.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--man-action (page &optional nodisplay)
  "Create man PAGE buffer, do not display if NODISPLAY is non-nil."
  (dlet ((Man-prefer-synchronous-call t)
         (Man-notify-method (and (not nodisplay) 'aggressive))
         (inhibit-message t)
         (message-log-max nil))
    (when-let* ((buf (man page))
                ((buffer-live-p buf)))
      (with-current-buffer buf
        (goto-char (point-min))
        (current-buffer)))))