aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/eval.c b/src/eval.c
index 7b1c516d756..dbd06e7c1b1 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -926,13 +926,14 @@ lisp_indirect_variable (Lisp_Object sym)
926DEFUN ("user-variable-p", Fuser_variable_p, Suser_variable_p, 1, 1, 0, 926DEFUN ("user-variable-p", Fuser_variable_p, Suser_variable_p, 1, 1, 0,
927 doc: /* Return t if VARIABLE is intended to be set and modified by users. 927 doc: /* Return t if VARIABLE is intended to be set and modified by users.
928\(The alternative is a variable used internally in a Lisp program.) 928\(The alternative is a variable used internally in a Lisp program.)
929A variable is a user variable if 929
930\(1) the first character of its documentation is `*', or 930This function returns t if (i) the first character of its
931\(2) it is customizable (its property list contains a non-nil value 931documentation is `*', or (ii) it is customizable (its property list
932 of `standard-value' or `custom-autoload'), or 932contains a non-nil value of `standard-value' or `custom-autoload'), or
933\(3) it is an alias for another user variable. 933\(iii) it is an alias for a user variable.
934Return nil if VARIABLE is an alias and there is a loop in the 934
935chain of symbols. */) 935But condition (i) is considered obsolete, so for most purposes this is
936equivalent to `custom-variable-p'. */)
936 (Lisp_Object variable) 937 (Lisp_Object variable)
937{ 938{
938 Lisp_Object documentation; 939 Lisp_Object documentation;