HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e187cf7
)
(direct_output_for_insert): Recognize more cases where
author
Gerd Moellmann
<gerd@gnu.org>
Fri, 16 Feb 2001 12:36:03 +0000
(12:36 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Fri, 16 Feb 2001 12:36:03 +0000
(12:36 +0000)
glyphs can be written instead of being inserted.
src/dispnew.c
patch
|
blob
|
blame
|
history
diff --git
a/src/dispnew.c
b/src/dispnew.c
index
04532d4
..
337e3c9
100644
(file)
--- a/
src/dispnew.c
+++ b/
src/dispnew.c
@@
-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);