Mercurial > emacs
comparison doc/lispref/functions.texi @ 99914:863a0dc13e9d
(Declaring Functions): Fix typo.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 25 Nov 2008 03:51:57 +0000 |
parents | 89d49db15c3c |
children | e2daa3033e6e |
comparison
equal
deleted
inserted
replaced
99913:0ee463f8cc63 | 99914:863a0dc13e9d |
---|---|
1306 You don't have to specify the argument list, but if you do the | 1306 You don't have to specify the argument list, but if you do the |
1307 byte compiler can check that the calls match the declaration. | 1307 byte compiler can check that the calls match the declaration. |
1308 | 1308 |
1309 @defmac declare-function function file &optional arglist fileonly | 1309 @defmac declare-function function file &optional arglist fileonly |
1310 Tell the byte compiler to assume that @var{function} is defined, with | 1310 Tell the byte compiler to assume that @var{function} is defined, with |
1311 arguments @var{arglist}, and that the definition should come from | 1311 arguments @var{arglist}, and that the definition should come from the |
1312 the file @var{file}. @var{fileonly} non-nil means only check that | 1312 file @var{file}. @var{fileonly} non-@code{nil} means only check that |
1313 @var{file} exists, not that it actually defines @var{function}. | 1313 @var{file} exists, not that it actually defines @var{function}. |
1314 @end defmac | 1314 @end defmac |
1315 | 1315 |
1316 To verify that these functions really are declared where | 1316 To verify that these functions really are declared where |
1317 @code{declare-function} says they are, use @code{check-declare-file} | 1317 @code{declare-function} says they are, use @code{check-declare-file} |