Function: transient-suffix-put

transient-suffix-put is a byte-compiled function defined in transient.el.

Signature

(transient-suffix-put PREFIX LOC PROP VALUE)

Documentation

Edit the suffix at LOC in PREFIX, setting PROP to VALUE.

PREFIX is a prefix command, a symbol. SUFFIX is a suffix command or a group specification (of
  the same forms as expected by transient-define-prefix).
LOC is a command, a key vector, a key description (a string
  as returned by key-description), or a coordination list
  (whose last element may also be a command or key).
See info node (transient)Modifying Existing Transients.

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defun transient-suffix-put (prefix loc prop value)
  "Edit the suffix at LOC in PREFIX, setting PROP to VALUE.
PREFIX is a prefix command, a symbol.
SUFFIX is a suffix command or a group specification (of
  the same forms as expected by `transient-define-prefix').
LOC is a command, a key vector, a key description (a string
  as returned by `key-description'), or a coordination list
  (whose last element may also be a command or key).
See info node `(transient)Modifying Existing Transients'."
  (let ((child (transient-get-suffix prefix loc)))
    (if (vectorp child)
        (aset child 1 (plist-put (aref child 1) prop value))
      (setcdr child (plist-put (transient--suffix-props child) prop value)))))