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 2730fc9f3d7..ed3c811f28a 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -898,13 +898,14 @@ lisp_indirect_variable (Lisp_Object sym)
898DEFUN ("user-variable-p", Fuser_variable_p, Suser_variable_p, 1, 1, 0, 898DEFUN ("user-variable-p", Fuser_variable_p, Suser_variable_p, 1, 1, 0,
899 doc: /* Return t if VARIABLE is intended to be set and modified by users. 899 doc: /* Return t if VARIABLE is intended to be set and modified by users.
900\(The alternative is a variable used internally in a Lisp program.) 900\(The alternative is a variable used internally in a Lisp program.)
901A variable is a user variable if 901
902\(1) the first character of its documentation is `*', or 902This function returns t if (i) the first character of its
903\(2) it is customizable (its property list contains a non-nil value 903documentation is `*', or (ii) it is customizable (its property list
904 of `standard-value' or `custom-autoload'), or 904contains a non-nil value of `standard-value' or `custom-autoload'), or
905\(3) it is an alias for another user variable. 905\(iii) it is an alias for a user variable.
906Return nil if VARIABLE is an alias and there is a loop in the 906
907chain of symbols. */) 907But condition (i) is considered obsolete, so for most purposes this is
908equivalent to `custom-variable-p'. */)
908 (Lisp_Object variable) 909 (Lisp_Object variable)
909{ 910{
910 Lisp_Object documentation; 911 Lisp_Object documentation;