From: Richard M. Stallman Date: Fri, 27 Jun 2003 02:24:29 +0000 (+0000) Subject: (fast_find_position): Enable Gerd's new definition. X-Git-Tag: ttn-vms-21-2-B4~9555 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9c3521e0938e75a5f4519d7b68fdb59456971630;p=emacs.git (fast_find_position): Enable Gerd's new definition. --- diff --git a/src/xdisp.c b/src/xdisp.c index 1ea55021a34..7584d55e69f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -19248,7 +19248,7 @@ cursor_in_mouse_face_p (w) of last line in W. In the row containing CHARPOS, stop before glyphs having STOP as object. */ -#if 0 /* This is a version of fast_find_position that's more correct +#if 1 /* This is a version of fast_find_position that's more correct in the presence of hscrolling, for example. I didn't install it right away because the problem fixed is minor, it failed in 20.x as well, and I think it's too risky to install @@ -19315,7 +19315,7 @@ fast_find_position (w, charpos, hpos, vpos, x, y, stop) return past_end; } -#else /* not 0 */ +#else /* not 1 */ static int fast_find_position (w, pos, hpos, vpos, x, y, stop) @@ -19413,7 +19413,7 @@ fast_find_position (w, pos, hpos, vpos, x, y, stop) return 0; } -#endif /* not 0 */ +#endif /* not 1 */ /* Find the position of the glyph for position POS in OBJECT in