Comment change.
authorRichard M. Stallman <rms@gnu.org>
Mon, 11 May 1998 01:08:59 +0000 (01:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 11 May 1998 01:08:59 +0000 (01:08 +0000)
src/buffer.c

index 78326a9..e781d25 100644 (file)
@@ -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))