aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-11-16 15:55:07 +0000
committerGerd Moellmann1999-11-16 15:55:07 +0000
commite35b612304a6a02d03b27e8b80adc17fc54a7fa5 (patch)
treedcac863f2ac7459cf24fc5dfa65c415f25023d6b /src
parent4563d12e5e8fcd48f6e489dca0b230e9d2a4c290 (diff)
downloademacs-e35b612304a6a02d03b27e8b80adc17fc54a7fa5.tar.gz
emacs-e35b612304a6a02d03b27e8b80adc17fc54a7fa5.zip
(command_loop_1): Remove no_redisplay.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/keyboard.c15
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 @@
11999-11-16 Gerd Moellmann <gerd@gnu.org>
2
3 * keyboard.c (command_loop_1): Remove no_redisplay.
4
11999-11-16 Richard M. Stallman <rms@caffeine.ai.mit.edu> 51999-11-16 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2 6
3 * print.c (PRINTPREPARE): Don't call setup_echo_area_for_printing 7 * 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 ()
1190 int nonundocount; 1190 int nonundocount;
1191 Lisp_Object keybuf[30]; 1191 Lisp_Object keybuf[30];
1192 int i; 1192 int i;
1193 int no_redisplay;
1194 int no_direct; 1193 int no_direct;
1195 int prev_modiff; 1194 int prev_modiff;
1196 struct buffer *prev_buffer; 1195 struct buffer *prev_buffer;
@@ -1205,7 +1204,6 @@ command_loop_1 ()
1205 cancel_echoing (); 1204 cancel_echoing ();
1206 1205
1207 nonundocount = 0; 1206 nonundocount = 0;
1208 no_redisplay = 0;
1209 this_command_key_count = 0; 1207 this_command_key_count = 0;
1210 this_single_command_key_start = 0; 1208 this_single_command_key_start = 0;
1211 1209
@@ -1364,12 +1362,7 @@ command_loop_1 ()
1364 } 1362 }
1365 1363
1366 /* Do redisplay processing after this command except in special 1364 /* Do redisplay processing after this command except in special
1367 cases identified below that set no_redisplay to 1. 1365 cases identified below. */
1368 (actually, there's currently no way to prevent the redisplay,
1369 and no_redisplay is ignored.
1370 Perhaps someday we will really implement it.) */
1371 no_redisplay = 0;
1372
1373 prev_buffer = current_buffer; 1366 prev_buffer = current_buffer;
1374 prev_modiff = MODIFF; 1367 prev_modiff = MODIFF;
1375 last_point_position = PT; 1368 last_point_position = PT;
@@ -1427,7 +1420,7 @@ command_loop_1 ()
1427 && !detect_input_pending () 1420 && !detect_input_pending ()
1428 && NILP (XWINDOW (selected_window)->column_number_displayed) 1421 && NILP (XWINDOW (selected_window)->column_number_displayed)
1429 && NILP (Vexecuting_macro)) 1422 && NILP (Vexecuting_macro))
1430 no_redisplay = direct_output_forward_char (1); 1423 direct_output_forward_char (1);
1431 goto directly_done; 1424 goto directly_done;
1432 } 1425 }
1433 else if (EQ (Vthis_command, Qbackward_char) && PT > BEGV) 1426 else if (EQ (Vthis_command, Qbackward_char) && PT > BEGV)
@@ -1453,7 +1446,7 @@ command_loop_1 ()
1453 && !detect_input_pending () 1446 && !detect_input_pending ()
1454 && NILP (XWINDOW (selected_window)->column_number_displayed) 1447 && NILP (XWINDOW (selected_window)->column_number_displayed)
1455 && NILP (Vexecuting_macro)) 1448 && NILP (Vexecuting_macro))
1456 no_redisplay = direct_output_forward_char (-1); 1449 direct_output_forward_char (-1);
1457 goto directly_done; 1450 goto directly_done;
1458 } 1451 }
1459 else if (EQ (Vthis_command, Qself_insert_command) 1452 else if (EQ (Vthis_command, Qself_insert_command)
@@ -1495,7 +1488,7 @@ command_loop_1 ()
1495 installed which is the case most of the time 1488 installed which is the case most of the time
1496 because FONT-LOCK installs one. */ 1489 because FONT-LOCK installs one. */
1497 if (!lose && !value) 1490 if (!lose && !value)
1498 no_redisplay = direct_output_for_insert (c); 1491 direct_output_for_insert (c);
1499 goto directly_done; 1492 goto directly_done;
1500 } 1493 }
1501 } 1494 }