From: Karl Heuer Date: Sun, 12 Apr 1998 06:45:08 +0000 (+0000) Subject: (display_text_line): When handling selective > 0, X-Git-Tag: emacs-20.3~1596 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b5231eda99a3833d0eebacdd188763c76f943e03;p=emacs.git (display_text_line): When handling selective > 0, update pos and pos_byte with results of calling scan_newline. --- diff --git a/src/xdisp.c b/src/xdisp.c index 86e776df608..069a73863fe 100644 --- 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--;