# HG changeset patch # User Gerd Moellmann # Date 940953375 0 # Node ID 798aeda1738946d7cc657daa4d1ab63c311ed76b # Parent bfbec2b68fd67ff896fe3a59d034ae93cb5de7b5 Patch from rms. diff -r bfbec2b68fd6 -r 798aeda17389 lispref/variables.texi --- a/lispref/variables.texi Tue Oct 26 15:53:43 1999 +0000 +++ b/lispref/variables.texi Tue Oct 26 15:56:15 1999 +0000 @@ -98,14 +98,16 @@ @vindex nil @vindex t @kindex setting-constant +@cindex keyword symbol In Emacs Lisp, certain symbols normally evaluate to themselves. These include @code{nil} and @code{t}, as well as any symbol whose name starts -with @samp{:}. These symbols cannot be rebound, nor can their values be -changed. Any attempt to set or bind @code{nil} or @code{t} signals a -@code{setting-constant} error. The same is true for a symbol whose name -starts with @samp{:} (if it is interned in the standard obarray), except -that you are allowed to set such a symbol to itself. +with @samp{:} (these are called @dfn{keywords}). These symbols cannot +be rebound, nor can their values be changed. Any attempt to set or bind +@code{nil} or @code{t} signals a @code{setting-constant} error. The +same is true for a keyword (a symbol whose name starts with @samp{:}), +if it is interned in the standard obarray, except that setting such a +symbol to itself is not an error. @example @group @@ -121,7 +123,7 @@ @defvar keyword-symbols-constant-flag @tindex keyword-symbols-constant-flag If this variable is @code{nil}, you are allowed to set and bind symbols -whose names start with @samp{:} as you wish. This is to make it +whose names start with @samp{:} however you wish. This is to make it possible to run old Lisp programs which do that. @end defvar