aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 8d5144836a8..c9ae346c47e 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1213,6 +1213,11 @@ command_loop_1 ()
1213 if (!NILP (Vpost_command_hook) && !NILP (Vrun_hooks)) 1213 if (!NILP (Vpost_command_hook) && !NILP (Vrun_hooks))
1214 safe_run_hooks (Qpost_command_hook); 1214 safe_run_hooks (Qpost_command_hook);
1215 1215
1216 /* If displaying a message, resize the echo area window to fit
1217 that message's size exactly. */
1218 if (!NILP (echo_area_buffer[0]))
1219 resize_echo_area_axactly ();
1220
1216 if (!NILP (Vdeferred_action_list)) 1221 if (!NILP (Vdeferred_action_list))
1217 call0 (Vdeferred_action_function); 1222 call0 (Vdeferred_action_function);
1218 1223
@@ -1517,6 +1522,11 @@ command_loop_1 ()
1517 if (!NILP (Vpost_command_hook) && !NILP (Vrun_hooks)) 1522 if (!NILP (Vpost_command_hook) && !NILP (Vrun_hooks))
1518 safe_run_hooks (Qpost_command_hook); 1523 safe_run_hooks (Qpost_command_hook);
1519 1524
1525 /* If displaying a message, resize the echo area window to fit
1526 that message's size exactly. */
1527 if (!NILP (echo_area_buffer[0]))
1528 resize_echo_area_axactly ();
1529
1520 if (!NILP (Vdeferred_action_list)) 1530 if (!NILP (Vdeferred_action_list))
1521 safe_run_hooks (Qdeferred_action_function); 1531 safe_run_hooks (Qdeferred_action_function);
1522 1532