keywordp, user-variable-p change.

This commit is contained in:
Dave Love 2000-01-31 12:48:43 +00:00
parent 994c5afe74
commit e88399c85c
2 changed files with 16 additions and 4 deletions

View file

@ -1637,6 +1637,9 @@ with references to further information.
@item keymapp
@xref{Creating Keymaps, keymapp}.
@item keywordp
@xref{Constant Variables}.
@item listp
@xref{List-related Predicates, listp}.

View file

@ -128,6 +128,13 @@ whose names start with @samp{:} however you wish. This is to make it
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 @@ variable intended to be set by the user for customization---and
@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