emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master c44ecb7: * lisp/net/tramp-compat.el (tramp-compat-f


From: Michael Albinus
Subject: [Emacs-diffs] master c44ecb7: * lisp/net/tramp-compat.el (tramp-compat-funcall): Don't use `subrp'.
Date: Mon, 26 Sep 2016 07:51:03 +0000 (UTC)

branch: master
commit c44ecb77ab33f0a0559c3e5da42fb486d6b014dd
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    * lisp/net/tramp-compat.el (tramp-compat-funcall): Don't use `subrp'.
---
 lisp/net/tramp-compat.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/tramp-compat.el b/lisp/net/tramp-compat.el
index 1c0b8d2..0d804fc 100644
--- a/lisp/net/tramp-compat.el
+++ b/lisp/net/tramp-compat.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]