From e35b612304a6a02d03b27e8b80adc17fc54a7fa5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 16 Nov 1999 15:55:07 +0000 Subject: [PATCH] (command_loop_1): Remove no_redisplay. --- src/ChangeLog | 4 ++++ src/keyboard.c | 15 ++++----------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index b5bca00a0ee..a34fc851317 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +1999-11-16 Gerd Moellmann + + * keyboard.c (command_loop_1): Remove no_redisplay. + 1999-11-16 Richard M. Stallman * print.c (PRINTPREPARE): Don't call setup_echo_area_for_printing diff --git a/src/keyboard.c b/src/keyboard.c index 23e64714221..ab48077dc20 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1190,7 +1190,6 @@ command_loop_1 () int nonundocount; Lisp_Object keybuf[30]; int i; - int no_redisplay; int no_direct; int prev_modiff; struct buffer *prev_buffer; @@ -1205,7 +1204,6 @@ command_loop_1 () cancel_echoing (); nonundocount = 0; - no_redisplay = 0; this_command_key_count = 0; this_single_command_key_start = 0; @@ -1364,12 +1362,7 @@ command_loop_1 () } /* Do redisplay processing after this command except in special - cases identified below that set no_redisplay to 1. - (actually, there's currently no way to prevent the redisplay, - and no_redisplay is ignored. - Perhaps someday we will really implement it.) */ - no_redisplay = 0; - + cases identified below. */ prev_buffer = current_buffer; prev_modiff = MODIFF; last_point_position = PT; @@ -1427,7 +1420,7 @@ command_loop_1 () && !detect_input_pending () && NILP (XWINDOW (selected_window)->column_number_displayed) && NILP (Vexecuting_macro)) - no_redisplay = direct_output_forward_char (1); + direct_output_forward_char (1); goto directly_done; } else if (EQ (Vthis_command, Qbackward_char) && PT > BEGV) @@ -1453,7 +1446,7 @@ command_loop_1 () && !detect_input_pending () && NILP (XWINDOW (selected_window)->column_number_displayed) && NILP (Vexecuting_macro)) - no_redisplay = direct_output_forward_char (-1); + direct_output_forward_char (-1); goto directly_done; } else if (EQ (Vthis_command, Qself_insert_command) @@ -1495,7 +1488,7 @@ command_loop_1 () installed which is the case most of the time because FONT-LOCK installs one. */ if (!lose && !value) - no_redisplay = direct_output_for_insert (c); + direct_output_for_insert (c); goto directly_done; } } -- 2.39.5