Function: transient-with-shadowed-buffer
transient-with-shadowed-buffer is a macro defined in transient.el.gz.
Signature
(transient-with-shadowed-buffer &rest BODY)
Documentation
While in the transient buffer, temporarily make the shadowed buffer current.
Source Code
;; Defined in /usr/src/emacs/lisp/transient.el.gz
(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))