From: Richard M. Stallman Date: Tue, 14 Mar 1995 05:45:39 +0000 (+0000) Subject: (unchain_marker): Allow differing buffers X-Git-Tag: emacs-19.34~4859 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3686a8de2775b07f9ebace1bbeefd7bc5dfa430c;p=emacs.git (unchain_marker): Allow differing buffers as long as they have the same text. --- diff --git a/src/marker.c b/src/marker.c index df67a8477a1..957510a9bde 100644 --- a/src/marker.c +++ b/src/marker.c @@ -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