mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
(direct_output_for_insert): Recognize more cases where
glyphs can be written instead of being inserted.
This commit is contained in:
parent
e187cf7170
commit
7728f17b18
@ -3584,7 +3584,10 @@ direct_output_for_insert (g)
|
||||
{
|
||||
rif->update_window_begin_hook (w);
|
||||
|
||||
if (glyphs == end - n)
|
||||
if (glyphs == end - n
|
||||
/* In front of a space added by append_space. */
|
||||
|| (glyphs == end - n - 1
|
||||
&& (end - n)->charpos <= 0))
|
||||
rif->write_glyphs (glyphs, n);
|
||||
else
|
||||
rif->insert_glyphs (glyphs, n);
|
||||
|
Loading…
Reference in New Issue
Block a user