Function: transient-define-group
transient-define-group is a macro defined in transient.el.
Signature
(transient-define-group NAME &rest GROUPS)
Documentation
Define one or more groups and store them in symbol NAME.
Groups defined using this macro, can be used inside the
definition of transient prefix commands, by using the symbol
NAME where a group vector is expected. GROUPS has the same
form as for transient-define-prefix.
Source Code
;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defmacro transient-define-group (name &rest groups)
"Define one or more groups and store them in symbol NAME.
Groups defined using this macro, can be used inside the
definition of transient prefix commands, by using the symbol
NAME where a group vector is expected. GROUPS has the same
form as for `transient-define-prefix'."
(declare (debug (&define name [&rest vectorp]))
(indent defun))
`(transient--set-layout
',name
(list ,@(mapcan (lambda (s) (transient--parse-child name s)) groups))))