From e88399c85cff2879010d57fd064b2781b572f2d2 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 31 Jan 2000 12:48:43 +0000 Subject: [PATCH] keywordp, user-variable-p change. --- lispref/objects.texi | 3 +++ lispref/variables.texi | 17 +++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/lispref/objects.texi b/lispref/objects.texi index 6d252685f42..8904bfba483 100644 --- a/lispref/objects.texi +++ b/lispref/objects.texi @@ -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}. diff --git a/lispref/variables.texi b/lispref/variables.texi index 857341ed87e..c7a067ca739 100644 --- a/lispref/variables.texi +++ b/lispref/variables.texi @@ -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 -- 2.39.5