Mercurial > emacs
diff src/window.c @ 47865:22b1643144e9
(window_scroll): Set immediate_quit.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 14 Oct 2002 01:30:53 +0000 |
| parents | 1075de6f6ebd |
| children | b75515b80900 |
line wrap: on
line diff
--- a/src/window.c Mon Oct 14 01:30:26 2002 +0000 +++ b/src/window.c Mon Oct 14 01:30:53 2002 +0000 @@ -4027,12 +4027,16 @@ int whole; int noerror; { + immediate_quit = 1; + /* If we must, use the pixel-based version which is much slower than the line-based one but can handle varying line heights. */ if (FRAME_WINDOW_P (XFRAME (XWINDOW (window)->frame))) window_scroll_pixel_based (window, n, whole, noerror); else window_scroll_line_based (window, n, whole, noerror); + + immediate_quit = 0; }
