* lisp/net/tramp-compat.el (tramp-compat-funcall): Don't use `subrp'.
This commit is contained in:
parent
5ee56c4613
commit
c44ecb77ab
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
|||
;; avoid them in cases we know what we do.
|
||||
(defmacro tramp-compat-funcall (function &rest arguments)
|
||||
"Call FUNCTION if it exists. Do not raise compiler warnings."
|
||||
`(when (or (subrp ,function) (functionp ,function))
|
||||
`(when (functionp ,function)
|
||||
(with-no-warnings (funcall ,function ,@arguments))))
|
||||
|
||||
;; We currently use "[" and "]" in the filename format for IPv6 hosts
|
||||
|
|
Loading…
Add table
Reference in a new issue