Mercurial > emacs
diff src/buffer.c @ 22021:55fc60b09fa7
Comment change.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 11 May 1998 01:08:59 +0000 |
| parents | 96ae627335f5 |
| children | 8c00a2d112cc |
line wrap: on
line diff
--- a/src/buffer.c Sun May 10 21:52:08 1998 +0000 +++ b/src/buffer.c Mon May 11 01:08:59 1998 +0000 @@ -1808,6 +1808,10 @@ } tail = markers = BUF_MARKERS (current_buffer); + + /* This prevents BYTE_TO_CHAR (that is, buf_bytepos_to_charpos) from + getting confused by the markers that have not yet been updated. + It is also a signal that it should never create a marker. */ BUF_MARKERS (current_buffer) = Qnil; while (XSYMBOL (tail) != XSYMBOL (Qnil))
