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:
f98b752
)
(display_text_line): When handling selective > 0,
author
Karl Heuer
<kwzh@gnu.org>
Sun, 12 Apr 1998 06:45:08 +0000
(06:45 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sun, 12 Apr 1998 06:45:08 +0000
(06:45 +0000)
update pos and pos_byte with results of calling scan_newline.
src/xdisp.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index
86e776d
..
069a738
100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-3599,6
+3599,7
@@
display_text_line (w, start, start_byte, vpos, hpos, taboffset, ovstr_done)
invis = 1;
INC_BOTH (pos, pos_byte);
scan_newline (pos, pos_byte, ZV, ZV_BYTE, 1, 1);
+ pos = PT, pos_byte = PT_BYTE;
if (FETCH_BYTE (pos_byte - 1) == '\n')
{
pos--;