aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-11-29 04:41:17 +0000
committerGlenn Morris2007-11-29 04:41:17 +0000
commitc45400672ff7d5ab7df0a6dded2e35eb128b2f67 (patch)
treeb4967f4770b39b2e842f177245f8e0b3775d8438
parentcbfc51932ecee108ae7c7d1a694ad11bcbd1bfa4 (diff)
downloademacs-c45400672ff7d5ab7df0a6dded2e35eb128b2f67.tar.gz
emacs-c45400672ff7d5ab7df0a6dded2e35eb128b2f67.zip
(Declaring Functions): Add findex. Mention `external' files.
-rw-r--r--doc/lispref/functions.texi6
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
1231Byte-compiling a file often produces warnings about functions that the 1232Byte-compiling a file often produces warnings about functions that the
1232compiler doesn't know about (@pxref{Compiler Errors}). Sometimes this 1233compiler 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
1289of the primitive functions of Emacs are always defined so they will 1290of the primitive functions of Emacs are always defined so they will
1290never give you a warning. 1291never give you a warning.
1291 1292
1293 Sometimes a file will optionally use functions from an external package.
1294If 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
1296without 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