* fileio.c (restore_point_unwind): Prefer unchain_marker to
Fset_marker (X, Qnil, ...) (which is the same but a bit slower).
+2013-09-03 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * buffer.c (drop_overlay):
+ * fileio.c (restore_point_unwind): Prefer unchain_marker to
+ Fset_marker (X, Qnil, ...) (which is the same but a bit slower).
+
2013-09-03 Dmitry Antipov <dmantipov@yandex.ru>
* buffer.c (Fmake_overlay, Fmove_overlay):
eassert (b == XBUFFER (Fmarker_buffer (ov->start)));
modify_overlay (b, marker_position (ov->start),
marker_position (ov->end));
- Fset_marker (ov->start, Qnil, Qnil);
- Fset_marker (ov->end, Qnil, Qnil);
+ unchain_marker (XMARKER (ov->start));
+ unchain_marker (XMARKER (ov->end));
}
restore_point_unwind (Lisp_Object location)
{
Fgoto_char (location);
- Fset_marker (location, Qnil, Qnil);
+ unchain_marker (XMARKER (location));
}
\f