bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#74091: 31.0.50; string-pixel-width in mode line disables region


From: Eli Zaretskii
Subject: bug#74091: 31.0.50; string-pixel-width in mode line disables region
Date: Sun, 10 Nov 2024 08:50:49 +0200

> Cc: me@eshelyaron.com, 74091@debbugs.gnu.org
> Date: Sun, 10 Nov 2024 07:50:47 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > > @@ -1170,7 +1171,7 @@ reset_buffer_local_variables (struct buffer *b, 
> > > bool permanent_too)
> > >         swap_in_global_binding (XSYMBOL (sym));
> > >       }
> > >  
> > > -          if (!NILP (prop))
> > > +          if (!NILP (prop) && permanent_too)
> > >              {
> > >                /* If permanent-local, keep it.  */
> > >                last = tmp;
> > 
> > This should be an || rather than an &&, no?
> 
> No, I don't think so.  If the permanent-local property is nil, we
> should not take this branch, even if permanent_too is non-zero.  Or
> what am I missing?

Hmm... but something is still amiss, because Emacs built with my patch
comes up without fontifications, although font-lock-mode is t.  Any
ideas?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]