Commit b69f9797 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fset_buffer_multibyte): Error if marker is put

on buffer's marker-chain while we have temporarily put nil there.
parent 7693a579
......@@ -1822,6 +1822,12 @@ but the contents viewed as characters do change.")
tail = XMARKER (tail)->chain;
/* Make sure no markers were put on the chain
while the chain value was incorrect. */
if (! EQ (BUF_MARKERS (current_buffer), Qnil))
abort ();
BUF_MARKERS (current_buffer) = markers;
/* Do this last, so it can calculate the new correspondences
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment