# HG changeset patch # User Dave Love # Date 949322923 0 # Node ID 5b4130fa5ab6e233cbea351770fef817282e5b58 # Parent c961bfd66c608dba6ed50a665e3ed098c2b396ab keywordp, user-variable-p change. diff -r c961bfd66c60 -r 5b4130fa5ab6 lispref/objects.texi --- a/lispref/objects.texi Sun Jan 30 21:22:55 2000 +0000 +++ b/lispref/objects.texi Mon Jan 31 12:48:43 2000 +0000 @@ -1637,6 +1637,9 @@ @item keymapp @xref{Creating Keymaps, keymapp}. +@item keywordp +@xref{Constant Variables}. + @item listp @xref{List-related Predicates, listp}. diff -r c961bfd66c60 -r 5b4130fa5ab6 lispref/variables.texi --- a/lispref/variables.texi Sun Jan 30 21:22:55 2000 +0000 +++ b/lispref/variables.texi Mon Jan 31 12:48:43 2000 +0000 @@ -128,6 +128,13 @@ possible to run old Lisp programs which do that. @end defvar +@defun keywordp object +@tindex keywordp +function returns @code{t} if @var{object} is a symbol whose name +starts with @samp{:}, interned in the standard obarray, and returns +@code{nil} otherwise. +@end defun + @node Local Variables @section Local Variables @cindex binding local variables @@ -556,10 +563,12 @@ @code{nil} otherwise. (Variables other than user options exist for the internal purposes of Lisp programs, and users need not know about them.) -User option variables are distinguished from other variables by the -first character of the @code{variable-documentation} property. If the -property exists and is a string, and its first character is @samp{*}, -then the variable is a user option. +User option variables are distinguished from other variables either +though being declared using @code{defcustom}@footnote{They may also be +declared equivalently in @file{cus-start.el}.} or by the first character +of their @code{variable-documentation} property. If the property exists +and is a string, and its first character is @samp{*}, then the variable +is a user option. @end defun @kindex variable-interactive