diff options
| author | Paul Eggert | 2012-02-10 10:58:48 -0800 |
|---|---|---|
| committer | Paul Eggert | 2012-02-10 10:58:48 -0800 |
| commit | 6e6c82a4e687708d5a7a3887f92db45bd74da276 (patch) | |
| tree | 85dc3105240e84a8cddadb25d572e170fcdbd8bc /src/eval.c | |
| parent | 78df1fb1d46d556bfc2698ca1802972b13613ba8 (diff) | |
| parent | cc26d239af9a82cff079556a1daff4b4bf60eb5c (diff) | |
| download | emacs-6e6c82a4e687708d5a7a3887f92db45bd74da276.tar.gz emacs-6e6c82a4e687708d5a7a3887f92db45bd74da276.zip | |
Merge from trunk.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 15 |
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) | |||
| 898 | DEFUN ("user-variable-p", Fuser_variable_p, Suser_variable_p, 1, 1, 0, | 898 | DEFUN ("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.) |
| 901 | A variable is a user variable if | 901 | |
| 902 | \(1) the first character of its documentation is `*', or | 902 | This function returns t if (i) the first character of its |
| 903 | \(2) it is customizable (its property list contains a non-nil value | 903 | documentation is `*', or (ii) it is customizable (its property list |
| 904 | of `standard-value' or `custom-autoload'), or | 904 | contains 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. |
| 906 | Return nil if VARIABLE is an alias and there is a loop in the | 906 | |
| 907 | chain of symbols. */) | 907 | But condition (i) is considered obsolete, so for most purposes this is |
| 908 | equivalent to `custom-variable-p'. */) | ||
| 908 | (Lisp_Object variable) | 909 | (Lisp_Object variable) |
| 909 | { | 910 | { |
| 910 | Lisp_Object documentation; | 911 | Lisp_Object documentation; |