From 193b12cacde14af89d506c4f8ca18c3e57b3110c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 2 Jan 1998 21:27:13 +0000 Subject: [PATCH] (Fmake_marker): Initialize marker's bytepos and charpos. --- src/alloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2