]> git.eshelyaron.com Git - emacs.git/commit
Autoload tramp-archive
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 3 Feb 2018 12:22:56 +0000 (13:22 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 3 Feb 2018 12:22:56 +0000 (13:22 +0100)
commit84c9dba4cee052b68b194c3a2e5c297a94d8c8af
treed9b8f9c74fdeeda789f31c1785ab6d5dacab67e0
parent0e0ad865d49dbcfcebaae9204c52e8632e1e2ddf
Autoload tramp-archive

* doc/misc/tramp.texi (Archive file names): Do not require to
load Tramp explicitly, this is autoloaded now also for file archives.

* lisp/net/tramp-archive.el (tramp-archive-suffixes)
(tramp-archive-compression-suffixes): Autoload them.
(tramp-archive-autoload-file-name-regexp): New defmacro.
(tramp-archive-file-name-regexp): Use it.
(tramp-register-archive-file-name-handler): New defun.  Call
it in `after-init-hook'.

* test/lisp/net/tramp-archive-tests.el
(tramp-archive-test40-file-system-info): Rename from
`tramp-archive-test40-archive-file-system-info.
(tramp-archive-test42-auto-load)
(tramp-archive-test42-delay-load): New tests.
doc/misc/tramp.texi
lisp/net/tramp-archive.el
test/lisp/net/tramp-archive-tests.el