[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/doc/lispref/functions.texi,v
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/doc/lispref/functions.texi,v |
Date: |
Thu, 29 Nov 2007 04:41:18 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 07/11/29 04:41:17
Index: functions.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/functions.texi,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- functions.texi 26 Nov 2007 08:48:31 -0000 1.6
+++ functions.texi 29 Nov 2007 04:41:17 -0000 1.7
@@ -1227,6 +1227,7 @@
@section Telling the Compiler that a Function is Defined
@cindex function declaration
@cindex declaring functions
address@hidden 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
address@hidden:}, 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
- [Emacs-diffs] Changes to emacs/doc/lispref/functions.texi,v, Glenn Morris, 2007/11/23
- [Emacs-diffs] Changes to emacs/doc/lispref/functions.texi,v, Richard M. Stallman, 2007/11/24
- [Emacs-diffs] Changes to emacs/doc/lispref/functions.texi,v, Juanma Barranquero, 2007/11/26
- [Emacs-diffs] Changes to emacs/doc/lispref/functions.texi,v,
Glenn Morris <=
- [Emacs-diffs] Changes to emacs/doc/lispref/functions.texi,v, Glenn Morris, 2007/11/30
- [Emacs-diffs] Changes to emacs/doc/lispref/functions.texi,v, Glenn Morris, 2007/11/30