diff options
| author | Eli Zaretskii | 2024-04-07 09:24:58 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-04-07 09:24:58 +0300 |
| commit | 2a41b6ba51457448b3937fbb1d9e06f62c3d5a9f (patch) | |
| tree | 9884a9138a1ba9f28fa7ae857a8f884d80df8cd9 /src | |
| parent | 3d87d74a23d13e853f202cc589eb750c40f9e2be (diff) | |
| download | emacs-2a41b6ba51457448b3937fbb1d9e06f62c3d5a9f.tar.gz emacs-2a41b6ba51457448b3937fbb1d9e06f62c3d5a9f.zip | |
; * src/filelock.c (Flock_file): Doc fix (bug#70216).
Diffstat (limited to 'src')
| -rw-r--r-- | src/filelock.c | 7 |
1 files changed, 5 insertions, 2 deletions
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) | |||
| 772 | } | 772 | } |
| 773 | 773 | ||
| 774 | DEFUN ("lock-file", Flock_file, Slock_file, 1, 1, 0, | 774 | DEFUN ("lock-file", Flock_file, Slock_file, 1, 1, 0, |
| 775 | doc: /* Lock FILE. | 775 | doc: /* Check whether FILE was modified since it was visited, and lock it. |
| 776 | If the option `create-lockfiles' is nil, this does nothing. */) | 776 | If user option `create-lockfiles' is nil, this does not create |
| 777 | a lock file for FILE, but it still checks whether FILE was modified | ||
| 778 | outside of the current Emacs session, and if so, asks the user | ||
| 779 | whether to modify FILE. */) | ||
| 777 | (Lisp_Object file) | 780 | (Lisp_Object file) |
| 778 | { | 781 | { |
| 779 | #ifndef MSDOS | 782 | #ifndef MSDOS |