From: Gerd Moellmann Date: Fri, 5 Nov 1999 14:04:40 +0000 (+0000) Subject: (Ffile_locked_p): Make FILENAME a required argument. X-Git-Tag: emacs-pretest-21.0.90~6165 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8105cbf7512e4f80bb0ad236debe5b45a55097f1;p=emacs.git (Ffile_locked_p): Make FILENAME a required argument. --- diff --git a/src/filelock.c b/src/filelock.c index 66f347b479c..8ab6792e67d 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -685,7 +685,7 @@ unlock_buffer (buffer) unlock_file (buffer->file_truename); } -DEFUN ("file-locked-p", Ffile_locked_p, Sfile_locked_p, 0, 1, 0, +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)