Function: transient--get-face

transient--get-face is a byte-compiled function defined in transient.el.

Signature

(transient--get-face ARG &rest ARGS)

Implementations

((obj transient-suffix) slot) in `transient.el'.

Undocumented

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(cl-defmethod transient--get-face ((obj transient-suffix) slot)
  (cond-let*
    ((not (slot-boundp obj slot)) nil)
    [[face (slot-value obj slot)]]
    ((facep face) face)
    ((functionp face)
     (let ((transient--pending-suffix obj))
       (condition-case nil
           (funcall face obj)
         (wrong-number-of-arguments (funcall face)))))))