diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2021-10-03 18:55:35 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2021-10-03 18:55:35 +0200 |
commit | 3863919a00e5f6c7cf9d4fe9e1b1a96fd5c18173 (patch) | |
tree | d8a1987e34baa0e6eb6ccc5015cc865550850962 /lisp/tab-line.el | |
parent | 7a6d34cd1f1ea2eb053578521632420d6ff9c0db (diff) | |
download | emacs-3863919a00e5f6c7cf9d4fe9e1b1a96fd5c18173.tar.gz emacs-3863919a00e5f6c7cf9d4fe9e1b1a96fd5c18173.tar.bz2 emacs-3863919a00e5f6c7cf9d4fe9e1b1a96fd5c18173.zip |
Fix unmounting in Tramp
* doc/misc/tramp.texi (FUSE setup): Add tramp-fuse-unmount-on-cleanup.
* lisp/net/tramp.el (tramp-file-name-unify): New defun.
(tramp-file-name-equal-p):
* lisp/net/tramp-cache.el (tramp-get-connection-property)
(tramp-set-connection-property, tramp-flush-connection-property)
(tramp-flush-connection-properties): Use it.
* lisp/net/tramp-fuse.el (tramp-fuse-get-fusermount): New defun.
(tramp-fuse-mount-points): New defvar.
(tramp-fuse-unmount): Use it. Delete VEC from
`tramp-fuse-mount-points'. Delete mount point.
(tramp-fuse-unmount-on-cleanup): New user option.
(tramp-fuse-cleanup, tramp-fuse-cleanup-all): New defuns.
(top): Adapt `tramp-fuse-unload-hook',
`tramp-cleanup-connection-hook',
`tramp-cleanup-all-connections-hook' and `kill-emacs-hook'.
* lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
* lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
Add VEC to `tramp-fuse-mount-points'.
* test/lisp/net/tramp-tests.el (tramp-fuse-unmount-on-cleanup): Declare.
(tramp-test39-make-lock-file-name): Use it.
Diffstat (limited to 'lisp/tab-line.el')
0 files changed, 0 insertions, 0 deletions