Commit 2640fa86 authored by Chong Yidong's avatar Chong Yidong

* variables.texi (Constant Variables): Distinguish from defconst

variables.
(Defining Variables): Add cindex.
parent 73874eb7
2009-10-16 Chong Yidong <cyd@stupidchicken.com>
* variables.texi (Constant Variables): Distinguish from defconst
variables.
(Defining Variables): Add cindex.
2009-10-15 Chong Yidong <cyd@stupidchicken.com>
* os.texi (Time of Day): Clarify that the microsecond part is
......
......@@ -134,6 +134,12 @@ starts with @samp{:}, interned in the standard obarray, and returns
@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 @@ The @code{defvar} form returns @var{symbol}, but it is normally used
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment