Function: transient-with-shadowed-buffer

transient-with-shadowed-buffer is a macro defined in transient.el.

Signature

(transient-with-shadowed-buffer &rest BODY)

Documentation

While in the transient buffer, temporarily make the shadowed buffer current.

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defmacro transient-with-shadowed-buffer (&rest body)
  "While in the transient buffer, temporarily make the shadowed buffer current."
  (declare (indent 0) (debug t))
  `(with-current-buffer (or transient--shadowed-buffer (current-buffer))
     ,@body))