changeset 86826:9b003519e0dd

(Declaring Functions): Add findex. Mention `external' files.
author Glenn Morris <rgm@gnu.org>
date Thu, 29 Nov 2007 04:41:17 +0000
parents d7f423869e23
children 04e9efb633d6
files doc/lispref/functions.texi
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/lispref/functions.texi	Thu Nov 29 04:41:07 2007 +0000
+++ b/doc/lispref/functions.texi	Thu Nov 29 04:41:17 2007 +0000
@@ -1227,6 +1227,7 @@
 @section Telling the Compiler that a Function is Defined
 @cindex function declaration
 @cindex declaring functions
+@findex declare-function
 
 Byte-compiling a file often produces warnings about functions that the
 compiler doesn't know about (@pxref{Compiler Errors}).  Sometimes this
@@ -1289,6 +1290,11 @@
 of the primitive functions of Emacs are always defined so they will
 never give you a warning.
 
+  Sometimes a file will optionally use functions from an external package.
+If you prefix the filename in the @code{declare-function} statement with
+@samp{ext:}, then it will be checked if it is found, otherwise skipped
+without error.
+
 @node Function Safety
 @section Determining whether a Function is Safe to Call
 @cindex function safety