diff options
| -rw-r--r-- | doc/lispref/functions.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 182d26511b1..b6f209c16d2 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi | |||
| @@ -1227,6 +1227,7 @@ following the definition, just like macros. | |||
| 1227 | @section Telling the Compiler that a Function is Defined | 1227 | @section Telling the Compiler that a Function is Defined |
| 1228 | @cindex function declaration | 1228 | @cindex function declaration |
| 1229 | @cindex declaring functions | 1229 | @cindex declaring functions |
| 1230 | @findex declare-function | ||
| 1230 | 1231 | ||
| 1231 | Byte-compiling a file often produces warnings about functions that the | 1232 | Byte-compiling a file often produces warnings about functions that the |
| 1232 | compiler doesn't know about (@pxref{Compiler Errors}). Sometimes this | 1233 | compiler doesn't know about (@pxref{Compiler Errors}). Sometimes this |
| @@ -1289,6 +1290,11 @@ you call a function that is defined only on certain systems. Most | |||
| 1289 | of the primitive functions of Emacs are always defined so they will | 1290 | of the primitive functions of Emacs are always defined so they will |
| 1290 | never give you a warning. | 1291 | never give you a warning. |
| 1291 | 1292 | ||
| 1293 | Sometimes a file will optionally use functions from an external package. | ||
| 1294 | If you prefix the filename in the @code{declare-function} statement with | ||
| 1295 | @samp{ext:}, then it will be checked if it is found, otherwise skipped | ||
| 1296 | without error. | ||
| 1297 | |||
| 1292 | @node Function Safety | 1298 | @node Function Safety |
| 1293 | @section Determining whether a Function is Safe to Call | 1299 | @section Determining whether a Function is Safe to Call |
| 1294 | @cindex function safety | 1300 | @cindex function safety |