diff options
| author | Richard M. Stallman | 2001-11-14 00:09:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-11-14 00:09:06 +0000 |
| commit | 3bfb892160c11df411749b8a28c49ae1cd56e232 (patch) | |
| tree | f40eafb3160a91356d23aa45e12a7ff3fdc16440 /src/filelock.c | |
| parent | fd4d156b145965d778fc320e6e73aeed81571d7b (diff) | |
| download | emacs-3bfb892160c11df411749b8a28c49ae1cd56e232.tar.gz emacs-3bfb892160c11df411749b8a28c49ae1cd56e232.zip | |
(Funlock_buffer, Ffile_locked_p): Doc fixes.
Diffstat (limited to 'src/filelock.c')
| -rw-r--r-- | src/filelock.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/filelock.c b/src/filelock.c index 682b5798991..5bf22dba790 100644 --- a/src/filelock.c +++ b/src/filelock.c | |||
| @@ -692,8 +692,9 @@ or else nothing is done if current buffer isn't visiting a file. */) | |||
| 692 | 692 | ||
| 693 | DEFUN ("unlock-buffer", Funlock_buffer, Sunlock_buffer, | 693 | DEFUN ("unlock-buffer", Funlock_buffer, Sunlock_buffer, |
| 694 | 0, 0, 0, | 694 | 0, 0, 0, |
| 695 | doc: /* Unlock the file visited in the current buffer, | 695 | doc: /* Unlock the file visited in the current buffer. |
| 696 | if it should normally be locked. */) | 696 | If the buffer is not modified, this does nothing because the file |
| 697 | should not be locked in that case. */) | ||
| 697 | () | 698 | () |
| 698 | { | 699 | { |
| 699 | if (SAVE_MODIFF < MODIFF | 700 | if (SAVE_MODIFF < MODIFF |
| @@ -714,8 +715,9 @@ unlock_buffer (buffer) | |||
| 714 | } | 715 | } |
| 715 | 716 | ||
| 716 | DEFUN ("file-locked-p", Ffile_locked_p, Sfile_locked_p, 1, 1, 0, | 717 | DEFUN ("file-locked-p", Ffile_locked_p, Sfile_locked_p, 1, 1, 0, |
| 717 | doc: /* Return nil if the FILENAME is not locked, | 718 | doc: /* Return a value indicating whether FILENAME is locked. |
| 718 | t if it is locked by you, else a string of the name of the locker. */) | 719 | The value is nil if the FILENAME is not locked, |
| 720 | t if it is locked by you, else a string saying which user has locked it. */) | ||
| 719 | (filename) | 721 | (filename) |
| 720 | Lisp_Object filename; | 722 | Lisp_Object filename; |
| 721 | { | 723 | { |