diff options
author | Dave Love <fx@gnu.org> | 2000-01-31 12:48:43 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-01-31 12:48:43 +0000 |
commit | e88399c85cff2879010d57fd064b2781b572f2d2 (patch) | |
tree | 07133ffcd67598fdc14adccd749a2c2e0a76df8b /lispref/variables.texi | |
parent | 994c5afe744c6c1a79c62997d3a6f459c0a934dc (diff) | |
download | emacs-e88399c85cff2879010d57fd064b2781b572f2d2.tar.gz |
keywordp, user-variable-p change.
Diffstat (limited to 'lispref/variables.texi')
-rw-r--r-- | lispref/variables.texi | 17 |
1 files changed, 13 insertions, 4 deletions
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 |