Function: transient--init-objects

transient--init-objects is a byte-compiled function defined in transient.el.

Signature

(transient--init-objects &optional NAME LAYOUT PARAMS)

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defun transient--init-objects (&optional name layout params)
  (if name
      (setq transient--prefix (transient--init-prefix name params))
    (setq name (oref transient--prefix command)))
  (setq transient--refreshp (oref transient--prefix refresh-suffixes))
  (setq transient--layout
        (or (and (not transient--refreshp) layout)
            (transient--init-suffixes name)))
  (setq transient--suffixes (transient--flatten-suffixes transient--layout))
  (slot-makeunbound transient--prefix 'value))