]> git.eshelyaron.com Git - emacs.git/commit
Adapt hooks in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 25 Feb 2019 10:59:52 +0000 (11:59 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 25 Feb 2019 10:59:52 +0000 (11:59 +0100)
commitcedc3410d4feab7b4beeef3eab474fbabad4035c
tree7402bf4ff8d2b6d3f7b3ff897a6bcfa0077c0a07
parent6a3b1aaa066dac28355ca5d09550947250108950
Adapt hooks in Tramp

* lisp/net/tramp-archive.el (tramp-archive-cleanup-hash):
Remove autoload cookie.
(tramp-cleanup-all-connections-hook): Add `tramp-archive-cleanup-hash'.

* lisp/net/tramp-cmds.el (tramp-cleanup-connection-hook)
(tramp-cleanup-all-connections-hook): New hook variables.
(tramp-cleanup-connection): Set `tramp-current-connection' always
to nil.
(tramp-cleanup-connection): Do not call `tramp-recentf-cleanup'.
Run ´tramp-cleanup-connection-hook`.
(tramp-cleanup-all-connections): Do not call
`tramp-archive-cleanup-hash' and ´tramp-recentf-cleanup'.  Run
`tramp-cleanup-all-connections-hook'.

* lisp/net/tramp-ftp.el (top): Simply call `tramp-disable-ange-ftp'.

* lisp/net/tramp-integration.el (tramp-recentf-cleanup-all): New defun.
(top): Adapt `tramp-integration-unload-hook',
`tramp-cleanup-connection-hook' and
`tramp-cleanup-all-connections-hook'.
lisp/net/tramp-archive.el
lisp/net/tramp-cmds.el
lisp/net/tramp-ftp.el
lisp/net/tramp-integration.el