Function: transient-with-help-window

transient-with-help-window is a macro defined in transient.el.

Signature

(transient-with-help-window &rest BODY)

Documentation

Evaluate BODY, send output to *Help* buffer, and display it in a window.

Select the help window, and make the help buffer current and return it.

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defmacro transient-with-help-window (&rest body)
  "Evaluate BODY, send output to *Help* buffer, and display it in a window.
Select the help window, and make the help buffer current and return it."
  (declare (indent 0))
  `(let ((buffer nil)
         (help-window-select t))
     (with-help-window (help-buffer)
       ,@body
       (setq buffer (current-buffer)))
     (set-buffer buffer)))