]> git.eshelyaron.com Git - emacs.git/commit
Make Tramp backward compatible
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 12 May 2017 16:36:41 +0000 (18:36 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 12 May 2017 16:36:41 +0000 (18:36 +0200)
commitafd8c762b7bb534f5686a0273f42cb7cd08e0d6f
treefcd553664e85d26b13479ee3fc2600afed0ccd6e
parente5c71dcaf7481cd5f19706e6bea3361f5c1a83e7
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.
lisp/net/tramp-cmds.el
lisp/net/tramp-compat.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el