Function: tramp-compat-funcall
tramp-compat-funcall is a macro defined in tramp-compat.el.gz.
Signature
(tramp-compat-funcall FUNCTION &rest ARGUMENTS)
Documentation
Call FUNCTION with ARGUMENTS if it exists. Do not raise compiler warnings.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-compat.el.gz
;; For not existing functions, obsolete functions, or functions with a
;; changed argument list, there are compiler warnings. We want to
;; avoid them in cases we know what we do.
(defmacro tramp-compat-funcall (function &rest arguments)
"Call FUNCTION with ARGUMENTS if it exists. Do not raise compiler warnings."
`(when (functionp ,function)
(with-no-warnings (funcall ,function ,@arguments))))