Function: find-function-advised-original@transient-default-infix

find-function-advised-original@transient-default-infix is a byte-compiled function defined in transient.el.

Signature

(find-function-advised-original@transient-default-infix FN FUNC)

Documentation

Return nil instead of transient--default-infix-command.

When using find-function to jump to the definition of a transient infix command/argument, then we want to actually jump to that, not to the definition of transient--default-infix-command, which all infix commands are aliases for.

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(define-advice find-function-advised-original
    (:around (fn func) transient-default-infix)
  "Return nil instead of `transient--default-infix-command'.
When using `find-function' to jump to the definition of a transient
infix command/argument, then we want to actually jump to that, not to
the definition of `transient--default-infix-command', which all infix
commands are aliases for."
  (let ((val (funcall fn func)))
    (and val (not (eq val 'transient--default-infix-command)) val)))