Function: transient-augment-suffix

transient-augment-suffix is a macro defined in transient.el.

Signature

(transient-augment-suffix NAME [KEYWORD VALUE]...)

Documentation

Augment existing command NAME with a new transient suffix object.

Similar to transient-define-suffix but define a suffix object only.

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defmacro transient-augment-suffix (name &rest args)
  "Augment existing command NAME with a new transient suffix object.
Similar to `transient-define-suffix' but define a suffix object only.
\n\(fn NAME [KEYWORD VALUE]...)"
  (declare (debug (&define name [&rest keywordp sexp]))
           (indent defun))
  (pcase-let
      ((`(,class ,slots)
        (transient--expand-define-args args nil 'transient-augment-suffix t)))
    :autoload-end
    `(put ',name 'transient--suffix
          (,(or class 'transient-suffix) :command ',name ,@slots))))