[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/filelock.c
From: |
Pavel Janík |
Subject: |
[Emacs-diffs] Changes to emacs/src/filelock.c |
Date: |
Tue, 13 Nov 2001 02:45:45 -0500 |
Index: emacs/src/filelock.c
diff -u emacs/src/filelock.c:1.93 emacs/src/filelock.c:1.94
--- emacs/src/filelock.c:1.93 Fri Nov 2 15:25:04 2001
+++ emacs/src/filelock.c Tue Nov 13 02:45:44 2001
@@ -673,11 +673,11 @@
}
DEFUN ("lock-buffer", Flock_buffer, Slock_buffer,
- 0, 1, 0,
- "Lock FILE, if current buffer is modified.\n\
-FILE defaults to current buffer's visited file,\n\
-or else nothing is done if current buffer isn't visiting a file.")
- (file)
+ 0, 1, 0,
+ doc: /* Lock FILE, if current buffer is modified.
+FILE defaults to current buffer's visited file,
+or else nothing is done if current buffer isn't visiting a file. */)
+ (file)
Lisp_Object file;
{
if (NILP (file))
@@ -691,10 +691,10 @@
}
DEFUN ("unlock-buffer", Funlock_buffer, Sunlock_buffer,
- 0, 0, 0,
- "Unlock the file visited in the current buffer,\n\
-if it should normally be locked.")
- ()
+ 0, 0, 0,
+ doc: /* Unlock the file visited in the current buffer,
+if it should normally be locked. */)
+ ()
{
if (SAVE_MODIFF < MODIFF
&& STRINGP (current_buffer->file_truename))
@@ -714,10 +714,10 @@
}
DEFUN ("file-locked-p", Ffile_locked_p, Sfile_locked_p, 1, 1, 0,
- "Return nil if the FILENAME is not locked,\n\
-t if it is locked by you, else a string of the name of the locker.")
- (filename)
- Lisp_Object filename;
+ 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. */)
+ (filename)
+ Lisp_Object filename;
{
Lisp_Object ret;
register char *lfname;
@@ -755,7 +755,7 @@
syms_of_filelock ()
{
DEFVAR_LISP ("temporary-file-directory", &Vtemporary_file_directory,
- "The directory for writing temporary files.");
+ doc: /* The directory for writing temporary files. */);
Vtemporary_file_directory = Qnil;
defsubr (&Sunlock_buffer);
- [Emacs-diffs] Changes to emacs/src/filelock.c,
Pavel Janík <=