Function: vc-call
vc-call is a macro defined in vc-hooks.el.gz.
Signature
(vc-call FUN FILE &rest ARGS)
Documentation
A convenience macro for calling VC backend functions.
Functions called by this macro must accept FILE as the first argument. ARGS specifies any additional arguments. FUN should be unquoted.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-hooks.el.gz
(defmacro vc-call (fun file &rest args)
"A convenience macro for calling VC backend functions.
Functions called by this macro must accept FILE as the first argument.
ARGS specifies any additional arguments. FUN should be unquoted."
(macroexp-let2 nil file file
`(vc-call-backend (vc-backend ,file) ',fun ,file ,@args)))