diff options
| author | Richard M. Stallman | 1995-03-14 05:45:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-03-14 05:45:39 +0000 |
| commit | 3686a8de2775b07f9ebace1bbeefd7bc5dfa430c (patch) | |
| tree | 51a90718666813791eb586821b15f1523c13f1cb /src/marker.c | |
| parent | 6e2fb845baf51bea7e8e40ed7f6dcf6a7b4de6b0 (diff) | |
| download | emacs-3686a8de2775b07f9ebace1bbeefd7bc5dfa430c.tar.gz emacs-3686a8de2775b07f9ebace1bbeefd7bc5dfa430c.zip | |
(unchain_marker): Allow differing buffers
as long as they have the same text.
Diffstat (limited to 'src/marker.c')
| -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) | |||
| 220 | BUF_MARKERS (b) = next; | 220 | BUF_MARKERS (b) = next; |
| 221 | /* Deleting first marker from the buffer's chain. Crash | 221 | /* Deleting first marker from the buffer's chain. Crash |
| 222 | if new first marker in chain does not say it belongs | 222 | if new first marker in chain does not say it belongs |
| 223 | to the same buffer (or one of its indirect buffers). */ | 223 | to the same buffer, or at least that they have the same |
| 224 | if (!NILP (next) && b != XMARKER (next)->buffer) | 224 | base buffer. */ |
| 225 | if (!NILP (next) && b->text != XMARKER (next)->buffer->text) | ||
| 225 | abort (); | 226 | abort (); |
| 226 | } | 227 | } |
| 227 | else | 228 | else |