> 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