From: Richard M. Stallman Date: Fri, 2 Jan 1998 21:28:56 +0000 (+0000) Subject: (internal_equal): For markers, use bytepos instead of bufpos. X-Git-Tag: emacs-20.3~2507 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6ced1284f381c5f77b77db086ea62ede046718a0;p=emacs.git (internal_equal): For markers, use bytepos instead of bufpos. --- diff --git a/src/fns.c b/src/fns.c index 157918bfbe9..bab53aa44fd 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1,5 +1,5 @@ /* Random utility Lisp functions. - Copyright (C) 1985, 86, 87, 93, 94, 95 Free Software Foundation, Inc. + Copyright (C) 1985, 86, 87, 93, 94, 95, 1997 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -1141,7 +1141,7 @@ internal_equal (o1, o2, depth) { return (XMARKER (o1)->buffer == XMARKER (o2)->buffer && (XMARKER (o1)->buffer == 0 - || XMARKER (o1)->bufpos == XMARKER (o2)->bufpos)); + || XMARKER (o1)->bytepos == XMARKER (o2)->bytepos)); } break;