• Michael Albinus's avatar
    Adapt hooks in Tramp · cedc3410
    Michael Albinus authored
    * 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'.
    cedc3410
tramp-ftp.el 7.43 KB