]> git.eshelyaron.com Git - emacs.git/commitdiff
(Declaring Functions): Improve previous change (arguments by name, not number).
authorGlenn Morris <rgm@gnu.org>
Sat, 1 Dec 2007 02:32:20 +0000 (02:32 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 1 Dec 2007 02:32:20 +0000 (02:32 +0000)
doc/lispref/functions.texi

index 1cd60f9009bed7def644ed22cc2f7a293e738786..3767e778cf76a49d2cd438306b45ad094061fe8b 100644 (file)
@@ -1298,11 +1298,12 @@ without error.
 
   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