changeset 23602:6c27d8ed0867

(set_internal): For built-in maybe-local vars, when BINDFLAG is set, do not mark them as local.
author Richard M. Stallman <rms@gnu.org>
date Sat, 31 Oct 1998 23:39:42 +0000
parents 0049f95b12a7
children 62a7f47017b3
files src/data.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/data.c	Sat Oct 31 22:55:26 1998 +0000
+++ b/src/data.c	Sat Oct 31 23:39:42 1998 +0000
@@ -980,7 +980,7 @@
       register int idx = XBUFFER_OBJFWD (valcontents)->offset;
       register int mask = XINT (*((Lisp_Object *)
 				  (idx + (char *)&buffer_local_flags)));
-      if (mask > 0)
+      if (mask > 0 && ! bindflag)
 	current_buffer->local_var_flags |= mask;
     }