diff src/bytecode.c @ 108308:ee0a08d8887e

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.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 07 May 2010 16:33:00 -0400
parents bef5d1738c0b
children aec1143e8d85
line wrap: on
line diff
--- a/src/bytecode.c	Fri May 07 14:55:18 2010 -0400
+++ b/src/bytecode.c	Fri May 07 16:33:00 2010 -0400
@@ -604,7 +604,7 @@
 	    else
 	      {
 		BEFORE_POTENTIAL_GC ();
-		set_internal (sym, val, current_buffer, 0);
+		set_internal (sym, val, Qnil, 0);
 		AFTER_POTENTIAL_GC ();
 	      }
 	  }