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:
42d305d
)
(direct_output_for_insert): Don't change IT's
author
Gerd Moellmann
<gerd@gnu.org>
Mon, 10 Sep 2001 13:25:34 +0000
(13:25 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Mon, 10 Sep 2001 13:25:34 +0000
(13:25 +0000)
stop_charpos to something in front of its current position.
src/dispnew.c
patch
|
blob
|
blame
|
history
diff --git
a/src/dispnew.c
b/src/dispnew.c
index
165b6e4
..
78d3748
100644
(file)
--- a/
src/dispnew.c
+++ b/
src/dispnew.c
@@
-3482,6
+3482,7
@@
direct_output_for_insert (g)
it.current_y = w->cursor.y;
it.end_charpos = PT;
it.stop_charpos = min (PT, it.stop_charpos);
+ it.stop_charpos = max (IT_CHARPOS (it), it.stop_charpos);
/* More than one display element may be returned for PT - 1 if
(i) it's a control character which is translated into `\003' or