changeset 27528:5b4130fa5ab6

keywordp, user-variable-p change.
author Dave Love <fx@gnu.org>
date Mon, 31 Jan 2000 12:48:43 +0000
parents c961bfd66c60
children c764870c8720
files lispref/objects.texi lispref/variables.texi
diffstat 2 files changed, 16 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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}.
 
--- 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