summaryrefslogtreecommitdiff
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-05-07 16:33:00 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2010-05-07 16:33:00 -0400
commit94b612ad880e0d6eab6659347cb66e3a5310f8be (patch)
tree104dbc03e1756a2fa74c2ce4c1e83a75d92fcd73 /src/bytecode.c
parent15e12598e1023e3a4c34015834a8856a8236bb3c (diff)
downloademacs-94b612ad880e0d6eab6659347cb66e3a5310f8be.tar.gz
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.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index c59f75dc78e..c53c5acdbb3 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -604,7 +604,7 @@ If the third argument is incorrect, Emacs may crash. */)
else
{
BEFORE_POTENTIAL_GC ();
- set_internal (sym, val, current_buffer, 0);
+ set_internal (sym, val, Qnil, 0);
AFTER_POTENTIAL_GC ();
}
}