From 95fb069bc962b6104d33e859404b2efc0cd2b92d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 11 May 1998 01:08:59 +0000 Subject: [PATCH] Comment change. --- src/buffer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/buffer.c b/src/buffer.c index 78326a99ecf..e781d25646c 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1808,6 +1808,10 @@ but the contents viewed as characters do change.") } 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)) -- 2.39.2