Make autoloading Tramp more robust
commit138c8256f41f242341c7d146c99f4e6fa267a638
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 16 May 2017 13:55:06 +0000 (16 15:55 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 16 May 2017 13:55:06 +0000 (16 15:55 +0200)
tree32979ab3e1a88ee17d5b4b5c518be88e8bc6c9ff
parent712a5faa2c95596db2d4d94dada575ad16b317c5
Make autoloading Tramp more robust

* lisp/net/tramp.el (tramp-file-name-for-operation):
Use `default-directory' where appropriate.
(tramp-file-name-handler): Do not autoload.
(tramp-autoload-file-name-handler): Reintroduce function.
(tramp-register-autoload-file-name-handlers): Use it.
lisp/net/tramp.el