diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-03-14 05:45:39 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-03-14 05:45:39 +0000 |
commit | 162b9b8a0f62bb84ff92b9280a0c5ec19b227bc6 (patch) | |
tree | 9ee5c5c3481f334d5f24ba3ab48edbacf8a1d49f /src | |
parent | f733f5d09d27ba7099cb90dc52a4be44bd269680 (diff) | |
download | emacs-162b9b8a0f62bb84ff92b9280a0c5ec19b227bc6.tar.gz |
(unchain_marker): Allow differing buffers
as long as they have the same text.
Diffstat (limited to 'src')
-rw-r--r-- | src/marker.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 |