Subject: bug#19576: write-file writes the wrong buffer

From: Eli Zaretskii <[email-masked]>
Date: Fri, 20 Nov 2015 16:54:06 +0200

> Date: Fri, 20 Nov 2015 15:21:07 +0100
> From: martin rudalics <[email-masked]>
> CC: [email-masked], [email-masked], [email-masked], 
>  [email-masked]
> 
>  >> Then it conceptually can run into a loop where it continuously grows and
>  >> shrinks the mini window?
>  >
>  > What loop?  Redisplay doesn't call 'message';
> 
> I meant the code run by ‘window-size-change-functions’ might call
> ‘message’.

In that case, redisplay won't be called by that invocation of
'message'.

Moreover, redisplay_internal doesn't allow to invoke itself
recursively (although I never saw it happening), it returns
immediately if that happens.