diff options
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 8745ba9ef99..50de60c936c 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -787,7 +787,7 @@ usage: (defvar SYMBOL &optional INITVALUE DOCSTRING) */) | |||
| 787 | LOADHIST_ATTACH (sym); | 787 | LOADHIST_ATTACH (sym); |
| 788 | } | 788 | } |
| 789 | else if (!NILP (Vinternal_interpreter_environment) | 789 | else if (!NILP (Vinternal_interpreter_environment) |
| 790 | && !XSYMBOL (sym)->u.s.declared_special) | 790 | && (SYMBOLP (sym) && !XSYMBOL (sym)->u.s.declared_special)) |
| 791 | /* A simple (defvar foo) with lexical scoping does "nothing" except | 791 | /* A simple (defvar foo) with lexical scoping does "nothing" except |
| 792 | declare that var to be dynamically scoped *locally* (i.e. within | 792 | declare that var to be dynamically scoped *locally* (i.e. within |
| 793 | the current file or let-block). */ | 793 | the current file or let-block). */ |