]> git.eshelyaron.com Git - emacs.git/commitdiff
(window_scroll): Set immediate_quit.
authorRichard M. Stallman <rms@gnu.org>
Mon, 14 Oct 2002 01:30:53 +0000 (01:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 14 Oct 2002 01:30:53 +0000 (01:30 +0000)
src/window.c

index e7b1ba4537317888d6ea7ab35a2fc0723564a951..d69db50874647d87837ef2845ac5dd5d772336cc 100644 (file)
@@ -4027,12 +4027,16 @@ window_scroll (window, n, whole, noerror)
      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;
 }