Mercurial > emacs
diff src/eval.c @ 17275:03f89f7e614e
(Fuser_variable_p): If not a symbol, return nil.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 01 Apr 1997 22:04:58 +0000 |
parents | bc9a4db95edb |
children | 31b2c6763574 |
line wrap: on
line diff
--- a/src/eval.c Tue Apr 01 21:47:17 1997 +0000 +++ b/src/eval.c Tue Apr 01 22:04:58 1997 +0000 @@ -658,6 +658,9 @@ { Lisp_Object documentation; + if (!SYMBOLP (variable)) + return Qnil; + documentation = Fget (variable, Qvariable_documentation); if (INTEGERP (documentation) && XINT (documentation) < 0) return Qt;