summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index 08c3f32dff5..e6d0280d9b0 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5923,6 +5923,9 @@ and redisplay normally--don't erase and redraw the frame. */)
EMACS_INT iarg UNINIT;
int this_scroll_margin;
+ /* For reasons why we signal an error here, see
+ http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00053.html,
+ http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00094.html. */
if (buf != current_buffer)
error ("`recenter'ing a window that does not display current-buffer.");