Subject: Re: bug#21730: 25.0.50; Random errors in redisplay--pre-redisplay-functions

From: Eli Zaretskii <[email-masked]>
Date: Wed, 14 Sep 2016 22:25:51 +0300

> From: Philipp Stephani <[email-masked]>
> Date: Wed, 14 Sep 2016 19:11:57 +0000
> 
>  (with-current-buffer (window-buffer win)
>  (run-hook-with-args 'pre-redisplay-functions win))
>  to
>  (run-hook-wrapped 'pre-redisplay-functions
>  (lambda (func) (with-current-buffer (window-buffer win)
>  (funcall func win)
>  nil))
>  or so.
> 
> I've attached a patch for this. 

Thanks.  But we are going to entertain such changes, I think we really
should be sure the issue with the current buffer is the culprit.  See
my other message a few moments ago.