]> git.eshelyaron.com Git - emacs.git/commit
Improve lock-pid handling in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 9 Dec 2021 19:03:16 +0000 (20:03 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 9 Dec 2021 19:03:16 +0000 (20:03 +0100)
commitbbfb37378366f28696760153279a2d55b3e8faf9
treeddd116463741ed86c7738d55de17f60272092d68
parent6ecb24f877242371a0dbc7938e9b408df2690dc7
Improve lock-pid handling in Tramp

* lisp/net/tramp-cache.el: Remove comment.

* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
* lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection):
Do not set "lock-pid" connection-property.
(tramp-sudoedit-handle-delete-file): Use "rm -f".

* lisp/net/tramp.el (tramp-test-message): Extend for buffers w/o
remote default-directory.
(tramp-lock-pid): New defvar.
(tramp-get-lock-pid): Reimplement.
lisp/net/tramp-cache.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-rclone.el
lisp/net/tramp-sshfs.el
lisp/net/tramp-sudoedit.el
lisp/net/tramp.el