emacs-devel
[Top][All Lists]
Advanced

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

Re: master 5ee43ba0df causing display hangs?


From: Eli Zaretskii
Subject: Re: master 5ee43ba0df causing display hangs?
Date: Sat, 07 Dec 2019 20:14:06 +0200

> Date: Sat, 07 Dec 2019 19:42:39 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
> > I briefly noticed commit 5ee43ba0dfd96e5d39da556260346bd3c8ff99c1
> > (identified by bysecting) causes some modes to hang forever during
> > display (mu4e-view-mode and the underlying gnus-article-mode), with C-g
> > being ignored.
> 
> The smallest self-contained recipe for reproducing the problem will be
> appreciated.

A stab in the dark: does the below fix the problem?

diff --git a/src/xfaces.c b/src/xfaces.c
index 6db4dcd..a2fbed8 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -2168,7 +2168,7 @@ face_inherited_attr (struct window *w, struct frame *f,
       if (CONSP (parent_face))
        {
          Lisp_Object tail;
-         for (tail = parent_face; !NILP (tail); tail = XCDR (tail))
+         for (tail = parent_face; CONSP (tail); tail = XCDR (tail))
            {
              ok = get_lface_attributes (w, f, XCAR (tail), inherited_attrs,
                                         false, named_merge_points);



reply via email to

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