Function: transient-inline-group
transient-inline-group is an autoloaded and byte-compiled function
defined in transient.el.
Signature
(transient-inline-group PREFIX GROUP)
Documentation
Inline the included GROUP into PREFIX.
Replace the symbol GROUP with its expanded layout in the layout of PREFIX.
Source Code
;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
;;;###autoload
(defun transient-inline-group (prefix group)
"Inline the included GROUP into PREFIX.
Replace the symbol GROUP with its expanded layout in the
layout of PREFIX."
(declare (indent defun))
(cl-assert (symbolp group))
(pcase-let ((`(,suffix ,parent) (transient--locate-child prefix group)))
(when suffix
(let* ((siblings (aref parent 2))
(pos (cl-position group siblings)))
(aset parent 2
(nconc (seq-take siblings pos)
(transient--get-children group)
(seq-drop siblings (1+ pos))))))))