diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/buffer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index e781d25646c..70cb13a9b75 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1822,6 +1822,12 @@ but the contents viewed as characters do change.") | |||
| 1822 | 1822 | ||
| 1823 | tail = XMARKER (tail)->chain; | 1823 | tail = XMARKER (tail)->chain; |
| 1824 | } | 1824 | } |
| 1825 | |||
| 1826 | /* Make sure no markers were put on the chain | ||
| 1827 | while the chain value was incorrect. */ | ||
| 1828 | if (! EQ (BUF_MARKERS (current_buffer), Qnil)) | ||
| 1829 | abort (); | ||
| 1830 | |||
| 1825 | BUF_MARKERS (current_buffer) = markers; | 1831 | BUF_MARKERS (current_buffer) = markers; |
| 1826 | 1832 | ||
| 1827 | /* Do this last, so it can calculate the new correspondences | 1833 | /* Do this last, so it can calculate the new correspondences |