diff options
| author | Gerd Moellmann | 1999-09-12 20:21:53 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-09-12 20:21:53 +0000 |
| commit | 8f12e41de71c95542ac8167919e92cd6da244a06 (patch) | |
| tree | 5c786b861ff78314906d70ce4f6192aa3b9915dd /src | |
| parent | 2da8bf64bdaaf354d0cfb876f385683e93e95441 (diff) | |
| download | emacs-8f12e41de71c95542ac8167919e92cd6da244a06.tar.gz emacs-8f12e41de71c95542ac8167919e92cd6da244a06.zip | |
(command_loop_1): Resize mini-window to the
exact size of a message displayed, if any.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 10 |
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 | ||