diff --git a/src/xdisp.c b/src/xdisp.c index 4642541823c..527a79b38da 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -17422,9 +17422,9 @@ cursor_row_fully_visible_p (struct window *w, bool force_p, enum { - SCROLLING_SUCCESS, - SCROLLING_FAILED, - SCROLLING_NEED_LARGER_MATRICES + SCROLLING_SUCCESS = 1, + SCROLLING_FAILED = 0, + SCROLLING_NEED_LARGER_MATRICES = -1 }; /* If scroll-conservatively is more than this, never recenter.