]> git.eshelyaron.com Git - emacs.git/commitdiff
(internal_equal): For markers, use bytepos instead of bufpos.
authorRichard M. Stallman <rms@gnu.org>
Fri, 2 Jan 1998 21:28:56 +0000 (21:28 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 2 Jan 1998 21:28:56 +0000 (21:28 +0000)
src/fns.c

index 157918bfbe92863d39e546c13a7a80b26c0c06b6..bab53aa44fd1afd4ddd29393432f76e80e1586c8 100644 (file)
--- 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;