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:
parent
6e2fb845ba
commit
3686a8de27
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user