diff options
| author | Richard M. Stallman | 2002-10-14 01:30:53 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-10-14 01:30:53 +0000 |
| commit | cba59f778608e94182d6d652c8a6bc4ced86739c (patch) | |
| tree | c23f1e96ef52971a8b754048779b7e84c679928a /src/window.c | |
| parent | 0330bb60a174b5307e3550f2c0c3ac0882219291 (diff) | |
| download | emacs-cba59f778608e94182d6d652c8a6bc4ced86739c.tar.gz emacs-cba59f778608e94182d6d652c8a6bc4ced86739c.zip | |
(window_scroll): Set immediate_quit.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index e7b1ba45373..d69db508746 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -4027,12 +4027,16 @@ window_scroll (window, n, whole, noerror) | |||
| 4027 | int whole; | 4027 | int whole; |
| 4028 | int noerror; | 4028 | int noerror; |
| 4029 | { | 4029 | { |
| 4030 | immediate_quit = 1; | ||
| 4031 | |||
| 4030 | /* If we must, use the pixel-based version which is much slower than | 4032 | /* If we must, use the pixel-based version which is much slower than |
| 4031 | the line-based one but can handle varying line heights. */ | 4033 | the line-based one but can handle varying line heights. */ |
| 4032 | if (FRAME_WINDOW_P (XFRAME (XWINDOW (window)->frame))) | 4034 | if (FRAME_WINDOW_P (XFRAME (XWINDOW (window)->frame))) |
| 4033 | window_scroll_pixel_based (window, n, whole, noerror); | 4035 | window_scroll_pixel_based (window, n, whole, noerror); |
| 4034 | else | 4036 | else |
| 4035 | window_scroll_line_based (window, n, whole, noerror); | 4037 | window_scroll_line_based (window, n, whole, noerror); |
| 4038 | |||
| 4039 | immediate_quit = 0; | ||
| 4036 | } | 4040 | } |
| 4037 | 4041 | ||
| 4038 | 4042 | ||