diff options
| author | Richard M. Stallman | 1998-01-02 21:28:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-01-02 21:28:56 +0000 |
| commit | 6ced1284f381c5f77b77db086ea62ede046718a0 (patch) | |
| tree | 15c6b3e2090388b0ab32dac183f8e00d199752e7 /src | |
| parent | a3123c1330535e48aecfbf19dadd5bfd577738db (diff) | |
| download | emacs-6ced1284f381c5f77b77db086ea62ede046718a0.tar.gz emacs-6ced1284f381c5f77b77db086ea62ede046718a0.zip | |
(internal_equal): For markers, use bytepos instead of bufpos.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||
| 4 | This file is part of GNU Emacs. | 4 | This 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 | ||