mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 11:50:51 -08:00
(internal_equal): For markers, use bytepos instead of bufpos.
This commit is contained in:
parent
a3123c1330
commit
6ced1284f3
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue