changeset 60265:74accd79beb7

(Documentation Basics): Add function-documentation prop.
author Richard M. Stallman <rms@gnu.org>
date Sat, 26 Feb 2005 23:57:40 +0000
parents 659b8615ab0f
children 09052e72c240
files lispref/help.texi
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/help.texi	Sat Feb 26 23:53:35 2005 +0000
+++ b/lispref/help.texi	Sat Feb 26 23:57:40 2005 +0000
@@ -66,9 +66,13 @@
 
 @itemize @bullet
 @item
-The documentation for a function is stored in the function definition
-itself (@pxref{Lambda Expressions}).  The function @code{documentation}
-knows how to extract it.
+@kindex function-documentation
+The documentation for a function is usually stored in the function
+definition itself (@pxref{Lambda Expressions}).  The function
+@code{documentation} knows how to extract it.  You can also put
+function documentation in the @code{function-documentation} property
+of the function name.  That is useful with definitions such as
+keyboard macros that can't hold a documentation string.
 
 @item
 @kindex variable-documentation