comparison src/buffer.c @ 22023:8c00a2d112cc

(Fset_buffer_multibyte): Error if marker is put on buffer's marker-chain while we have temporarily put nil there.
author Richard M. Stallman <rms@gnu.org>
date Mon, 11 May 1998 01:14:36 +0000
parents 55fc60b09fa7
children b6edeb61a779
comparison
equal deleted inserted replaced
22022:64ac294567a6 22023:8c00a2d112cc
1820 = advance_to_char_boundary (XMARKER (tail)->bytepos); 1820 = advance_to_char_boundary (XMARKER (tail)->bytepos);
1821 XMARKER (tail)->charpos = BYTE_TO_CHAR (XMARKER (tail)->bytepos); 1821 XMARKER (tail)->charpos = BYTE_TO_CHAR (XMARKER (tail)->bytepos);
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
1828 between chars and bytes. */ 1834 between chars and bytes. */
1829 set_intervals_multibyte (1); 1835 set_intervals_multibyte (1);