From: Richard M. Stallman Date: Mon, 11 May 1998 01:08:59 +0000 (+0000) Subject: Comment change. X-Git-Tag: emacs-20.3~1056 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=95fb069bc962b6104d33e859404b2efc0cd2b92d;p=emacs.git Comment change. --- 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))