aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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. */)
5923 EMACS_INT iarg UNINIT; 5923 EMACS_INT iarg UNINIT;
5924 int this_scroll_margin; 5924 int this_scroll_margin;
5925 5925
5926 /* For reasons why we signal an error here, see
5927 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00053.html,
5928 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00094.html. */
5926 if (buf != current_buffer) 5929 if (buf != current_buffer)
5927 error ("`recenter'ing a window that does not display current-buffer."); 5930 error ("`recenter'ing a window that does not display current-buffer.");
5928 5931