emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/filelock.c


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/filelock.c
Date: Tue, 13 Nov 2001 19:09:06 -0500

Index: emacs/src/filelock.c
diff -u emacs/src/filelock.c:1.94 emacs/src/filelock.c:1.95
--- emacs/src/filelock.c:1.94   Tue Nov 13 02:45:44 2001
+++ emacs/src/filelock.c        Tue Nov 13 19:09:06 2001
@@ -692,8 +692,9 @@
 
 DEFUN ("unlock-buffer", Funlock_buffer, Sunlock_buffer,
        0, 0, 0,
-       doc: /* Unlock the file visited in the current buffer,
-if it should normally be locked.  */)
+       doc: /* Unlock the file visited in the current buffer.
+If the buffer is not modified, this does nothing because the file
+should not be locked in that case.  */)
      ()
 {
   if (SAVE_MODIFF < MODIFF
@@ -714,8 +715,9 @@
 }
 
 DEFUN ("file-locked-p", Ffile_locked_p, Sfile_locked_p, 1, 1, 0,
-       doc: /* Return nil if the FILENAME is not locked,
-t if it is locked by you, else a string of the name of the locker.  */)
+       doc: /* Return a value indicating whether FILENAME is locked.
+The value is nil if the FILENAME is not locked,
+t if it is locked by you, else a string saying which user has locked it.  */)
      (filename)
      Lisp_Object filename;
 {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]