Function: transient-replace-suffix

transient-replace-suffix is an autoloaded and byte-compiled function defined in transient.el.

Signature

(transient-replace-suffix PREFIX LOC SUFFIX)

Documentation

Replace the suffix at LOC in PREFIX with SUFFIX.

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
;;;###autoload
(defun transient-replace-suffix (prefix loc suffix)
  "Replace the suffix at LOC in PREFIX with SUFFIX.
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'."
  (declare (indent defun))
  (transient--insert-suffix prefix loc suffix 'replace))