]> git.eshelyaron.com Git - emacs.git/commit
Add remote-file-name-inhibit-locks
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 13 Jul 2021 17:50:05 +0000 (19:50 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 13 Jul 2021 17:50:05 +0000 (19:50 +0200)
commitcce84822f72e6cd4af7bfa351a4da2c9bdc5bb81
treea200828f55384268354d7fbb972e98765d111ca2
parent7a803ecd3d455999cfc9266fa219d58109fac786
Add remote-file-name-inhibit-locks

* doc/emacs/files.texi (Interlocking):
* doc/lispref/files.texi (File Locks):
* doc/misc/tramp.texi (Auto-save File Lock and Backup):
Add remote-file-name-inhibit-locks.

* etc/NEWS: New user option 'remote-file-name-inhibit-locks'.

* lisp/files.el (remote-file-name-inhibit-locks): New defcustom.

* lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
* lisp/net/tramp-crypt.el (tramp-crypt-file-name-handler-alist):
* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
* lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler-alist):
* lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
* lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist):
Use `tramp-handle-make-lock-file-name'.

* lisp/net/tramp.el (tramp-allow-unsafe-temporary-files): Fix docstring.
(tramp-handle-make-lock-file-name): New defun.

* test/lisp/net/tramp-tests.el (tramp-test39-lock-file): Extend test.
15 files changed:
doc/emacs/files.texi
doc/lispref/files.texi
doc/misc/tramp.texi
etc/NEWS
lisp/files.el
lisp/net/tramp-adb.el
lisp/net/tramp-crypt.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-rclone.el
lisp/net/tramp-sh.el
lisp/net/tramp-smb.el
lisp/net/tramp-sshfs.el
lisp/net/tramp-sudoedit.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el