(set_internal): For built-in maybe-local vars,

when BINDFLAG is set, do not mark them as local.
This commit is contained in:
Richard M. Stallman 1998-10-31 23:39:42 +00:00
parent 46a3b2b49b
commit 33fa85e042

View file

@ -980,7 +980,7 @@ set_internal (symbol, newval, bindflag)
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;
}