summaryrefslogtreecommitdiff
path: root/doc/lispref/files.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-05-09 20:58:16 -0400
committerGlenn Morris <rgm@gnu.org>2012-05-09 20:58:16 -0400
commitdc0f75c82c55b14e29878c622fc9d2f18cf7a3dd (patch)
tree0f3f513cd4454e305349c5aea19e6acdc9984e76 /doc/lispref/files.texi
parent836d29b3704d0dc40411715fc0a9f3a708a8f8ad (diff)
downloademacs-dc0f75c82c55b14e29878c622fc9d2f18cf7a3dd.tar.gz
Document new create-lockfiles option
Diffstat (limited to 'doc/lispref/files.texi')
-rw-r--r--doc/lispref/files.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 1756e56bd2a..2ee80504b60 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -726,7 +726,12 @@ system does not support locking.
File locking is not supported on some systems. On systems that do not
support it, the functions @code{lock-buffer}, @code{unlock-buffer} and
-@code{file-locked-p} do nothing and return @code{nil}.
+@code{file-locked-p} do nothing and return @code{nil}. It is also
+possible to disable locking, by setting the variable @code{create-lockfiles}.
+
+@defopt create-lockfiles
+If this variable is @code{nil}, Emacs does not lock files.
+@end defopt
@defun ask-user-about-lock file other-user
This function is called when the user tries to modify @var{file}, but it