From: Richard M. Stallman Date: Fri, 2 Jan 1998 21:27:13 +0000 (+0000) Subject: (Fmake_marker): Initialize marker's bytepos and charpos. X-Git-Tag: emacs-20.3~2509 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=193b12cacde14af89d506c4f8ca18c3e57b3110c;p=emacs.git (Fmake_marker): Initialize marker's bytepos and charpos. --- diff --git a/src/alloc.c b/src/alloc.c index db5ff4b0b50..528cd2e118e 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -1045,7 +1045,8 @@ DEFUN ("make-marker", Fmake_marker, Smake_marker, 0, 0, 0, XMISCTYPE (val) = Lisp_Misc_Marker; p = XMARKER (val); p->buffer = 0; - p->bufpos = 0; + p->bytepos = 0; + p->charpos = 0; p->chain = Qnil; p->insertion_type = 0; return val;