; * src/filelock.c (Flock_file): Doc fix (bug#70216).

This commit is contained in:
Eli Zaretskii 2024-04-07 09:24:58 +03:00
parent 3d87d74a23
commit 2a41b6ba51

View file

@ -772,8 +772,11 @@ unlock_all_files (void)
} }
DEFUN ("lock-file", Flock_file, Slock_file, 1, 1, 0, DEFUN ("lock-file", Flock_file, Slock_file, 1, 1, 0,
doc: /* Lock FILE. doc: /* Check whether FILE was modified since it was visited, and lock it.
If the option `create-lockfiles' is nil, this does nothing. */) If user option `create-lockfiles' is nil, this does not create
a lock file for FILE, but it still checks whether FILE was modified
outside of the current Emacs session, and if so, asks the user
whether to modify FILE. */)
(Lisp_Object file) (Lisp_Object file)
{ {
#ifndef MSDOS #ifndef MSDOS