aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-12-01 02:32:20 +0000
committerGlenn Morris2007-12-01 02:32:20 +0000
commit6297397b28d2abdd11c1e715ec65368f5ef722fa (patch)
tree9918be361bc4fb084bea32f03d113c7890003728
parentf99a19da146b0b80a20d22c48e57a974d324e323 (diff)
downloademacs-6297397b28d2abdd11c1e715ec65368f5ef722fa.tar.gz
emacs-6297397b28d2abdd11c1e715ec65368f5ef722fa.zip
(Declaring Functions): Improve previous change (arguments by name, not number).
-rw-r--r--doc/lispref/functions.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index 1cd60f9009b..3767e778cf7 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -1298,11 +1298,12 @@ without error.
1298 1298
1299 There are some function definitions that @samp{check-declare} does not 1299 There are some function definitions that @samp{check-declare} does not
1300understand (e.g. @code{defstruct} and some other macros). In such cases, 1300understand (e.g. @code{defstruct} and some other macros). In such cases,
1301you can pass a non-@code{nil} fourth argument to @code{declare-function}, 1301you can pass a non-@code{nil} @var{fileonly} argument to
1302meaning to only check that the file exists, not that it actually defines 1302@code{declare-function}, meaning to only check that the file exists, not
1303the function. Note that to do this without having to specify an 1303that it actually defines the function. Note that to do this without
1304argument list, you should set the third argument to @code{t} (because 1304having to specify an argument list, you should set the @var{arglist}
1305@code{nil} means an empty argument list, as opposed to an unspecified one). 1305argument to @code{t} (because @code{nil} means an empty argument list, as
1306opposed to an unspecified one).
1306 1307
1307@node Function Safety 1308@node Function Safety
1308@section Determining whether a Function is Safe to Call 1309@section Determining whether a Function is Safe to Call