diff src/lisp.h @ 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 261591829d04
children 973b5bc5fcfe
line wrap: on
line diff
--- a/src/lisp.h	Fri May 07 14:55:18 2010 -0400
+++ b/src/lisp.h	Fri May 07 16:33:00 2010 -0400
@@ -2381,7 +2381,7 @@
 				     Lisp_Object)) NO_RETURN;
 extern Lisp_Object wrong_type_argument P_ ((Lisp_Object, Lisp_Object)) NO_RETURN;
 extern Lisp_Object do_symval_forwarding (union Lisp_Fwd *);
-extern void set_internal (Lisp_Object, Lisp_Object, struct buffer *, int);
+extern void set_internal (Lisp_Object, Lisp_Object, Lisp_Object, int);
 extern void syms_of_data P_ ((void));
 extern void init_data P_ ((void));
 extern void swap_in_global_binding P_ ((struct Lisp_Symbol *));