(set_internal): For built-in maybe-local vars,
when BINDFLAG is set, do not mark them as local.
This commit is contained in:
parent
46a3b2b49b
commit
33fa85e042
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue