# HG changeset patch # User Chong Yidong # Date 1255659629 0 # Node ID 929678fafdb4b992127f75acff7957e672ccfb2f # Parent 2a7dac6bff40f58bbf77ad21001fb402bb32e4d9 * variables.texi (Constant Variables): Distinguish from defconst variables. (Defining Variables): Add cindex. diff -r 2a7dac6bff40 -r 929678fafdb4 doc/lispref/ChangeLog --- a/doc/lispref/ChangeLog Fri Oct 16 00:48:52 2009 +0000 +++ b/doc/lispref/ChangeLog Fri Oct 16 02:20:29 2009 +0000 @@ -1,3 +1,9 @@ +2009-10-16 Chong Yidong + + * variables.texi (Constant Variables): Distinguish from defconst + variables. + (Defining Variables): Add cindex. + 2009-10-15 Chong Yidong * os.texi (Time of Day): Clarify that the microsecond part is diff -r 2a7dac6bff40 -r 929678fafdb4 doc/lispref/variables.texi --- a/doc/lispref/variables.texi Fri Oct 16 00:48:52 2009 +0000 +++ b/doc/lispref/variables.texi Fri Oct 16 02:20:29 2009 +0000 @@ -134,6 +134,12 @@ @code{nil} otherwise. @end defun +These constants are fundamentally different from the ``constants'' +defined using the @code{defconst} special form (@pxref{Defining +Variables}). A @code{defconst} form serves to inform human readers +that you do not intend to change the value of a variable, but Emacs +does not raise an error if you actually change it. + @node Local Variables @section Local Variables @cindex binding local variables @@ -523,6 +529,7 @@ at top level in a file where its value does not matter. @end defspec +@cindex constant variables @defspec defconst symbol value [doc-string] This special form defines @var{symbol} as a value and initializes it. It informs a person reading your code that @var{symbol} has a standard