Function: transient--match-button
transient--match-button is a byte-compiled function defined in
transient.el.
Signature
(transient--match-button OBJECT)
Source Code
;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defun transient--match-button (object)
(cl-etypecase object
((or transient-group transient-information)
(let ((description (transient-format-description object)))
(lambda ()
(let ((obj (get-text-property (point) 'button-data)))
(and (cl-typep obj '(or transient-group transient-information))
(equal (string-trim-left (button-label (button-at (point))))
description))))))
(transient-suffix
(let ((key (oref object key)))
(lambda ()
(let ((obj (get-text-property (point) 'button-data)))
(and (cl-typep obj 'transient-suffix)
(eq (oref obj key) key))))))))