Fix subtle errors with let-binding of localized variables
commit3ef50c1ff691b0a6c2f56da76f7c1c9b572d8be8
authorEli Zaretskii <eliz@gnu.org>
Fri, 9 Dec 2016 14:03:08 +0000 (9 16:03 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 9 Dec 2016 14:03:08 +0000 (9 16:03 +0200)
tree4134d5dfa77b76e8d5312be1d84991a0e09e803b
parent54f52a1390c394f42203f39d0b4d73318203e092
Fix subtle errors with let-binding of localized variables

* src/eval.c (do_specbind): Don't require a "symbol" that is
actually a cons cell, in order to call set-default, as there are
no longer such bindings.  This makes do_specbind work like the
pre-concurrency implementation in specbind for bindings of
forwarded symbols.  Use specpdl_kind to access the type of the
binding.
(specpdl_kind): New function.
src/eval.c