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

(Fmake_marker): Initialize marker's bytepos and charpos.

parent f3e1f752
...@@ -1045,7 +1045,8 @@ DEFUN ("make-marker", Fmake_marker, Smake_marker, 0, 0, 0, ...@@ -1045,7 +1045,8 @@ DEFUN ("make-marker", Fmake_marker, Smake_marker, 0, 0, 0,
XMISCTYPE (val) = Lisp_Misc_Marker; XMISCTYPE (val) = Lisp_Misc_Marker;
p = XMARKER (val); p = XMARKER (val);
p->buffer = 0; p->buffer = 0;
p->bufpos = 0; p->bytepos = 0;
p->charpos = 0;
p->chain = Qnil; p->chain = Qnil;
p->insertion_type = 0; p->insertion_type = 0;
return val; return val;
......
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