# HG changeset patch # User Richard M. Stallman # Date 890370031 0 # Node ID c8d0df2cbd3deb15c29035b516ef6eaa34cd54f6 # Parent 47e189a470d281d7b0128d7811675fbaae6a1c33 (Fgoto_char): If POSITION is a marker pointing a different buffer, don't rely on the byte position of the marker. diff -r 47e189a470d2 -r c8d0df2cbd3d src/editfns.c --- a/src/editfns.c Fri Mar 20 04:59:15 1998 +0000 +++ b/src/editfns.c Fri Mar 20 05:00:31 1998 +0000 @@ -203,7 +203,8 @@ int pos; unsigned char *p; - if (MARKERP (position)) + if (MARKERP (position) + && current_buffer == XMARKER (position)->buffer) { pos = marker_position (position); if (pos < BEGV)