Subject: bug#17724: 24.4.50; regression: error "`recenter'ing a window that does not display current-buffer." when opening org-mode file

From: Stefan Monnier <[email-masked]>
Date: Tue, 17 Jun 2014 09:20:10 -0400

>   if (buf != current_buffer)
> 	  //	  error ("`recenter'ing a window that does not display current-buffer.");
> 	  return Qnil;
> ... in src/window.c seems to work for me.

Using `emacs-24' also works, without defeating the purpose of the
error message ;-)

        Stefan