diff options
| author | Glenn Morris | 2007-12-01 02:32:20 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-12-01 02:32:20 +0000 |
| commit | 6297397b28d2abdd11c1e715ec65368f5ef722fa (patch) | |
| tree | 9918be361bc4fb084bea32f03d113c7890003728 | |
| parent | f99a19da146b0b80a20d22c48e57a974d324e323 (diff) | |
| download | emacs-6297397b28d2abdd11c1e715ec65368f5ef722fa.tar.gz emacs-6297397b28d2abdd11c1e715ec65368f5ef722fa.zip | |
(Declaring Functions): Improve previous change (arguments by name, not number).
| -rw-r--r-- | doc/lispref/functions.texi | 11 |
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 |
| 1300 | understand (e.g. @code{defstruct} and some other macros). In such cases, | 1300 | understand (e.g. @code{defstruct} and some other macros). In such cases, |
| 1301 | you can pass a non-@code{nil} fourth argument to @code{declare-function}, | 1301 | you can pass a non-@code{nil} @var{fileonly} argument to |
| 1302 | meaning 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 |
| 1303 | the function. Note that to do this without having to specify an | 1303 | that it actually defines the function. Note that to do this without |
| 1304 | argument list, you should set the third argument to @code{t} (because | 1304 | having 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). | 1305 | argument to @code{t} (because @code{nil} means an empty argument list, as |
| 1306 | opposed 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 |