changeset 86884:bcf9ca31cd6d

(Declaring Functions): Improve previous change (arguments by name, not number).
author Glenn Morris <rgm@gnu.org>
date Sat, 01 Dec 2007 02:32:20 +0000
parents a24f8e0086d8
children 087d581b50f6
files doc/lispref/functions.texi
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/doc/lispref/functions.texi	Sat Dec 01 02:32:03 2007 +0000
+++ b/doc/lispref/functions.texi	Sat Dec 01 02:32:20 2007 +0000
@@ -1298,11 +1298,12 @@
 
   There are some function definitions that @samp{check-declare} does not
 understand (e.g. @code{defstruct} and some other macros).  In such cases,
-you can pass a non-@code{nil} fourth argument to @code{declare-function},
-meaning to only check that the file exists, not that it actually defines
-the function.  Note that to do this without having to specify an
-argument list, you should set the third argument to @code{t} (because
-@code{nil} means an empty argument list, as opposed to an unspecified one).
+you can pass a non-@code{nil} @var{fileonly} argument to
+@code{declare-function}, meaning to only check that the file exists, not
+that it actually defines the function.  Note that to do this without
+having to specify an argument list, you should set the @var{arglist}
+argument to @code{t} (because @code{nil} means an empty argument list, as
+opposed to an unspecified one).
 
 @node Function Safety
 @section Determining whether a Function is Safe to Call