diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2017-05-12 18:36:41 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2017-05-12 18:36:41 +0200 |
commit | afd8c762b7bb534f5686a0273f42cb7cd08e0d6f (patch) | |
tree | fcd553664e85d26b13479ee3fc2600afed0ccd6e /test | |
parent | e5c71dcaf7481cd5f19706e6bea3361f5c1a83e7 (diff) | |
download | emacs-afd8c762b7bb534f5686a0273f42cb7cd08e0d6f.tar.gz |
Make Tramp backward compatible
* lisp/net/tramp-cmds.el (tramp-change-syntax):
Set tramp-autoload cookie.
* lisp/net/tramp-compat.el: Run `tramp-change-syntax' at
startup, if necessary.
* lisp/net/tramp.el (tramp-syntax): Use `tramp-compat-user-error'.
(tramp-register-autoload-file-name-handlers): Do not mark
`operations' for `tramp-file-name-handler'.
(tramp-register-file-name-handlers): Remove also
`tramp-autoload-file-name-handler' for backward compatibility.
(tramp-register-foreign-file-name-handler): Use `delete-dups'.
* test/lisp/net/tramp-tests.el (tramp-change-syntax): Declare.
Diffstat (limited to 'test')
-rw-r--r-- | test/lisp/net/tramp-tests.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index a380e95c1a1..d3a93d27b29 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -45,6 +45,7 @@ (require 'vc-git) (require 'vc-hg) +(declare-function tramp-change-syntax "tramp-cmds") (declare-function tramp-find-executable "tramp-sh") (declare-function tramp-get-remote-path "tramp-sh") (declare-function tramp-get-remote-stat "tramp-sh") |