From: Richard M. Stallman Date: Sat, 31 Oct 1998 23:39:42 +0000 (+0000) Subject: (set_internal): For built-in maybe-local vars, X-Git-Tag: emacs-20.4~1347 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=33fa85e0426e67f43963eaeebaf670fef94b69de;p=emacs.git (set_internal): For built-in maybe-local vars, when BINDFLAG is set, do not mark them as local. --- diff --git a/src/data.c b/src/data.c index bed8bda7b7c..117c8f2ee59 100644 --- a/src/data.c +++ b/src/data.c @@ -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; }