Function: transient-get-value

transient-get-value is a byte-compiled function defined in transient.el.

Signature

(transient-get-value)

Documentation

Return the value of the extant prefix.

This function is intended to be used when setting up a menu and its suffixes. It is not intended to be used when a suffix command is invoked, whether from a menu or not, in which case transient-args should be used.

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defun transient-get-value ()
  "Return the value of the extant prefix.

This function is intended to be used when setting up a menu and its
suffixes.  It is not intended to be used when a suffix command is
invoked, whether from a menu or not, in which case `transient-args'
should be used."
  (transient--with-emergency-exit :get-value
    (mapcan (lambda (obj)
              (and (not (oref obj inactive))
                   (not (oref obj inapt))
                   (transient--get-wrapped-value obj)))
            transient--suffixes)))