aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-08-14 03:50:26 +0000
committerRichard M. Stallman1993-08-14 03:50:26 +0000
commit5843fef34696e776b9605735b1e24c98bfc89b3a (patch)
tree4c256a7bd29420dc2d8bd197e2c1422cafc3458b /src
parentba2700dbbee127141f9c42ae70287d58ab071269 (diff)
downloademacs-5843fef34696e776b9605735b1e24c98bfc89b3a.tar.gz
emacs-5843fef34696e776b9605735b1e24c98bfc89b3a.zip
(internal_equal): All markers in no buffer are equal.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fns.c b/src/fns.c
index 192711ec27c..556aaa38f28 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -870,9 +870,10 @@ do_cdr:
870 } 870 }
871 if (XTYPE (o1) == Lisp_Marker) 871 if (XTYPE (o1) == Lisp_Marker)
872 { 872 {
873 return (XMARKER (o1)->buffer == XMARKER (o2)->buffer 873 return ((XMARKER (o1)->buffer == XMARKER (o2)->buffer
874 && XMARKER (o1)->bufpos == XMARKER (o2)->bufpos) 874 && (NILP (XMARKER (o1)->buffer)
875 ? Qt : Qnil; 875 || XMARKER (o1)->bufpos == XMARKER (o2)->bufpos))
876 ? Qt : Qnil);
876 } 877 }
877 if (XTYPE (o1) == Lisp_Vector 878 if (XTYPE (o1) == Lisp_Vector
878 || XTYPE (o1) == Lisp_Compiled) 879 || XTYPE (o1) == Lisp_Compiled)