]> git.eshelyaron.com Git - emacs.git/commit
Display unlock-file warning only when file locks are enabled
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 4 Apr 2023 07:43:09 +0000 (09:43 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 4 Apr 2023 07:43:09 +0000 (09:43 +0200)
commitb3046c6c1f29281e7437d5b6685e230c1cef631c
treefdaa6e784b0205f990450b9a34fe074ad226e0f0
parent3b48fdc912ab6af65abd071bed120a2a697928d1
Display unlock-file warning only when file locks are enabled

* lisp/files.el (remote-file-name-inhibit-locks): Fix docstring.

* lisp/userlock.el (userlock--handle-unlock-error):
Display warning only when `create-lockfiles' is non-nil.  (Bug#62614)

* lisp/net/tramp.el (tramp-handle-unlock-file): Raise a warning
only when `create-lockfiles' is non-nil or
`remote-file-name-inhibit-locks' is nil.
lisp/files.el
lisp/net/tramp.el
lisp/userlock.el