changeset 47865:22b1643144e9

(window_scroll): Set immediate_quit.
author Richard M. Stallman <rms@gnu.org>
date Mon, 14 Oct 2002 01:30:53 +0000
parents c63e96671963
children 5177877a5328
files src/window.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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;
 }