Commit 3686a8de authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(unchain_marker): Allow differing buffers

as long as they have the same text.
parent 6e2fb845
......@@ -220,8 +220,9 @@ unchain_marker (marker)
BUF_MARKERS (b) = next;
/* Deleting first marker from the buffer's chain. Crash
if new first marker in chain does not say it belongs
to the same buffer (or one of its indirect buffers). */
if (!NILP (next) && b != XMARKER (next)->buffer)
to the same buffer, or at least that they have the same
base buffer. */
if (!NILP (next) && b->text != XMARKER (next)->buffer->text)
abort ();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment