Try and fix unbind_to when localness of binding has changed
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 May 2010 20:33:00 +0000 (16:33 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 May 2010 20:33:00 +0000 (16:33 -0400)
commit94b612ad880e0d6eab6659347cb66e3a5310f8be
tree104dbc03e1756a2fa74c2ce4c1e83a75d92fcd73
parent15e12598e1023e3a4c34015834a8856a8236bb3c
Try and fix unbind_to when localness of binding has changed
* eval.c (unbind_to): Don't unbind a local binding into the global
binding when the local binding disappeared.  Inversely, don't unbind
a global binding into a newly created local binding.
* data.c (set_internal): Make its `buf' arg into a `where' arg so we
can specify the frame to use, when applicable.  Adjust callers.
src/ChangeLog
src/bytecode.c
src/data.c
src/eval.c
src/lisp.h