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

From: Eli Zaretskii <[email-masked]>
Date: Fri, 20 Nov 2015 13:39:09 +0200

> Date: Fri, 20 Nov 2015 12:25:44 +0100
> From: martin rudalics <[email-masked]>
> CC: [email-masked], [email-masked], [email-masked], 
>  [email-masked]
> 
>  > Yes, and we are allowed non-minor changes on master.
> 
> I can't test emacs-25 anyway.

Because of loaddefs?  You should be able to produce them with a
different Emacs binary.