1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00

(unchain_marker): Allow differing buffers

as long as they have the same text.
This commit is contained in:
Richard M. Stallman 1995-03-14 05:45:39 +00:00
parent 6e2fb845ba
commit 3686a8de27

View File

@ -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 ();
}
else