diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2016-05-09 21:08:51 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2016-05-09 21:08:51 +0200 |
commit | a88f22bddef5be36a3227f0630c1465f76a87f78 (patch) | |
tree | 924b8e6fe8958f254c89670ff48d859f0835f00e /lisp/net/tramp-compat.el | |
parent | c8b7a6abd90aab76185202def7049a0ea981d335 (diff) | |
download | emacs-a88f22bddef5be36a3227f0630c1465f76a87f78.tar.gz emacs-a88f22bddef5be36a3227f0630c1465f76a87f78.tar.bz2 emacs-a88f22bddef5be36a3227f0630c1465f76a87f78.zip |
Pacify byte compiler in tramp.el
* lisp/net/tramp.el (tramp-time-diff): Use `tramp-compat-funcall'.
Diffstat (limited to 'lisp/net/tramp-compat.el')
-rw-r--r-- | lisp/net/tramp-compat.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/net/tramp-compat.el b/lisp/net/tramp-compat.el index f1f31d0398e..0e9fcb501a7 100644 --- a/lisp/net/tramp-compat.el +++ b/lisp/net/tramp-compat.el @@ -50,9 +50,9 @@ (unless (boundp 'remote-file-name-inhibit-cache) (defvar remote-file-name-inhibit-cache nil)) -;; For not existing functions, or functions with a changed argument -;; list, there are compiler warnings. We want to avoid them in cases -;; we know what we do. +;; 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) `(when (or (subrp ,function) (functionp ,function)) (with-no-warnings (funcall ,function ,@arguments)))) |