mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
(internal_equal): All markers in no buffer are equal.
This commit is contained in:
parent
ba2700dbbe
commit
5843fef346
@ -870,9 +870,10 @@ internal_equal (o1, o2, depth)
|
||||
}
|
||||
if (XTYPE (o1) == Lisp_Marker)
|
||||
{
|
||||
return (XMARKER (o1)->buffer == XMARKER (o2)->buffer
|
||||
&& XMARKER (o1)->bufpos == XMARKER (o2)->bufpos)
|
||||
? Qt : Qnil;
|
||||
return ((XMARKER (o1)->buffer == XMARKER (o2)->buffer
|
||||
&& (NILP (XMARKER (o1)->buffer)
|
||||
|| XMARKER (o1)->bufpos == XMARKER (o2)->bufpos))
|
||||
? Qt : Qnil);
|
||||
}
|
||||
if (XTYPE (o1) == Lisp_Vector
|
||||
|| XTYPE (o1) == Lisp_Compiled)
|
||||
|
Loading…
Reference in New Issue
Block a user