aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2022-10-27 15:29:46 +0300
committerEli Zaretskii2022-10-27 15:29:46 +0300
commit877f706c861ec14a3258e53b82b9c8fd86890ca4 (patch)
tree6ff215d5d2495e92d5792d4d9ff95465997ddf9c /src
parent93fb14d0c805f492f0107c5ddd2914cde6d219b5 (diff)
downloademacs-877f706c861ec14a3258e53b82b9c8fd86890ca4.tar.gz
emacs-877f706c861ec14a3258e53b82b9c8fd86890ca4.zip
; * src/keyboard.c (command_loop_1): Remove unused variable.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 8ab4a451b45..b9a08ab91bf 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1268,7 +1268,6 @@ command_loop_1 (void)
1268{ 1268{
1269 modiff_count prev_modiff = 0; 1269 modiff_count prev_modiff = 0;
1270 struct buffer *prev_buffer = NULL; 1270 struct buffer *prev_buffer = NULL;
1271 bool already_adjusted = 0;
1272 1271
1273 kset_prefix_arg (current_kboard, Qnil); 1272 kset_prefix_arg (current_kboard, Qnil);
1274 kset_last_prefix_arg (current_kboard, Qnil); 1273 kset_last_prefix_arg (current_kboard, Qnil);
@@ -1458,8 +1457,6 @@ command_loop_1 (void)
1458 safe_run_hooks_maybe_narrowed (Qpre_command_hook, 1457 safe_run_hooks_maybe_narrowed (Qpre_command_hook,
1459 XWINDOW (selected_window)); 1458 XWINDOW (selected_window));
1460 1459
1461 already_adjusted = 0;
1462
1463 if (NILP (Vthis_command)) 1460 if (NILP (Vthis_command))
1464 /* nil means key is undefined. */ 1461 /* nil means key is undefined. */
1465 call0 (Qundefined); 1462 call0 (Qundefined);
@@ -1615,9 +1612,8 @@ command_loop_1 (void)
1615 the automatic composition, we must update the 1612 the automatic composition, we must update the
1616 display. */ 1613 display. */
1617 windows_or_buffers_changed = 21; 1614 windows_or_buffers_changed = 21;
1618 if (!already_adjusted) 1615 adjust_point_for_property (last_point_position,
1619 adjust_point_for_property (last_point_position, 1616 MODIFF != prev_modiff);
1620 MODIFF != prev_modiff);
1621 } 1617 }
1622 else if (PT > BEGV && PT < ZV 1618 else if (PT > BEGV && PT < ZV
1623 && (composition_adjust_point (last_point_position, PT) 1619 && (composition_adjust_point (last_point_position, PT)