diff options
| author | Po Lu | 2024-01-31 14:34:19 +0800 |
|---|---|---|
| committer | Po Lu | 2024-01-31 14:50:37 +0800 |
| commit | 5f24c9a4c82f7106e22cac8a5201db8307239837 (patch) | |
| tree | 74f675902ffa4ce4d1b5003dfdfe0896c3d246e3 /src/bytecode.c | |
| parent | f63bcf2dfeb26de511f468adc237e6ea8a3cb6cc (diff) | |
| download | emacs-5f24c9a4c82f7106e22cac8a5201db8307239837.tar.gz emacs-5f24c9a4c82f7106e22cac8a5201db8307239837.zip | |
Don't hang when display objects are displaced by line or wrap-prefixes
This fixes a hang that would frequently rear its ugly head while
displaying messages in the `telega.el' instant messenger client,
which inserts images approaching the width of the window with
line and wrap prefixes.
* src/xdisp.c (move_it_in_display_line_to): If a line or wrap
prefix is set in place, do not generate continuation lines until
a minimum of one glyph has been produced outside that prefix.
(move_it_to): Remove the previous workaround that could not
recover from errors caused by display strings.
(display_line): Synchronize with move_it_in_display_line_to;
remove old workaround that only provided for oversized wrap
prefixes comprising `space' display objects.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions