Function: transient--goto-button
transient--goto-button is a byte-compiled function defined in
transient.el.
Signature
(transient--goto-button OBJECT)
Source Code
;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defun transient--goto-button (object)
(cl-etypecase object
(transient-prefix (goto-char (point-min)))
((or transient-group transient-suffix)
(let ((found (transient--match-button object)))
(while (and (not (funcall found))
(ignore-errors (forward-button 1))))
(unless (funcall found)
(goto-char (point-min))
(ignore-errors (forward-button 1))
(unless (funcall found)
(goto-char (point-min))))))))