aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1998-01-02 21:28:56 +0000
committerRichard M. Stallman1998-01-02 21:28:56 +0000
commit6ced1284f381c5f77b77db086ea62ede046718a0 (patch)
tree15c6b3e2090388b0ab32dac183f8e00d199752e7 /src
parenta3123c1330535e48aecfbf19dadd5bfd577738db (diff)
downloademacs-6ced1284f381c5f77b77db086ea62ede046718a0.tar.gz
emacs-6ced1284f381c5f77b77db086ea62ede046718a0.zip
(internal_equal): For markers, use bytepos instead of bufpos.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c4
1 files changed, 2 insertions, 2 deletions
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 @@
1/* Random utility Lisp functions. 1/* Random utility Lisp functions.
2 Copyright (C) 1985, 86, 87, 93, 94, 95 Free Software Foundation, Inc. 2 Copyright (C) 1985, 86, 87, 93, 94, 95, 1997 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -1141,7 +1141,7 @@ internal_equal (o1, o2, depth)
1141 { 1141 {
1142 return (XMARKER (o1)->buffer == XMARKER (o2)->buffer 1142 return (XMARKER (o1)->buffer == XMARKER (o2)->buffer
1143 && (XMARKER (o1)->buffer == 0 1143 && (XMARKER (o1)->buffer == 0
1144 || XMARKER (o1)->bufpos == XMARKER (o2)->bufpos)); 1144 || XMARKER (o1)->bytepos == XMARKER (o2)->bytepos));
1145 } 1145 }
1146 break; 1146 break;
1147 1147