From: Eli Zaretskii Date: Sun, 7 Apr 2024 06:24:58 +0000 (+0300) Subject: ; * src/filelock.c (Flock_file): Doc fix (bug#70216). X-Git-Tag: archive/raspbian/1%29.4+1-4+rpi1~1^2~2^2~17^2~74 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2a41b6ba51457448b3937fbb1d9e06f62c3d5a9f;p=emacs.git ; * src/filelock.c (Flock_file): Doc fix (bug#70216). --- diff --git a/src/filelock.c b/src/filelock.c index 7acee1f8ddd..3dc5f6d68d6 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -772,8 +772,11 @@ unlock_all_files (void) } DEFUN ("lock-file", Flock_file, Slock_file, 1, 1, 0, - doc: /* Lock FILE. -If the option `create-lockfiles' is nil, this does nothing. */) + doc: /* Check whether FILE was modified since it was visited, and lock it. +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) { #ifndef MSDOS