Subject: Re: bug#34138: 27.0.50; Delayed display of PDF file images

From: Eli Zaretskii <[email-masked]>
Date: Sat, 26 Jan 2019 12:52:14 +0200

> Date: Sat, 26 Jan 2019 10:19:57 +0100
> From: martin rudalics <[email-masked]>
> CC: [email-masked], [email-masked], 
>  [email-masked], [email-masked]
> 
> One reasonable location to run window change functions should be right
> before
> 
>    if (windows_or_buffers_changed && !update_mode_lines)
>      /* Code that sets windows_or_buffers_changed doesn't distinguish whether
>         only the windows's contents needs to be refreshed, or whether the
>         mode-lines also need a refresh.  */
>      update_mode_lines = (windows_or_buffers_changed == REDISPLAY_SOME
>    			 ? REDISPLAY_SOME : 32);
> 
> in redisplay_internal.

That's at the beginning of redisplay, so yes, I think it's a better
place.