diff options
| author | Richard M. Stallman | 2003-06-27 02:24:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-06-27 02:24:29 +0000 |
| commit | 9c3521e0938e75a5f4519d7b68fdb59456971630 (patch) | |
| tree | 414069395fa2bf90ad89b04cc3166f2e24dcbc3a /src | |
| parent | 5b4907d013453cb3a3183743f34f19703e6806b6 (diff) | |
| download | emacs-9c3521e0938e75a5f4519d7b68fdb59456971630.tar.gz emacs-9c3521e0938e75a5f4519d7b68fdb59456971630.zip | |
(fast_find_position): Enable Gerd's new definition.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
| 19248 | of last line in W. In the row containing CHARPOS, stop before glyphs | 19248 | of last line in W. In the row containing CHARPOS, stop before glyphs |
| 19249 | having STOP as object. */ | 19249 | having STOP as object. */ |
| 19250 | 19250 | ||
| 19251 | #if 0 /* This is a version of fast_find_position that's more correct | 19251 | #if 1 /* This is a version of fast_find_position that's more correct |
| 19252 | in the presence of hscrolling, for example. I didn't install | 19252 | in the presence of hscrolling, for example. I didn't install |
| 19253 | it right away because the problem fixed is minor, it failed | 19253 | it right away because the problem fixed is minor, it failed |
| 19254 | in 20.x as well, and I think it's too risky to install | 19254 | 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) | |||
| 19315 | return past_end; | 19315 | return past_end; |
| 19316 | } | 19316 | } |
| 19317 | 19317 | ||
| 19318 | #else /* not 0 */ | 19318 | #else /* not 1 */ |
| 19319 | 19319 | ||
| 19320 | static int | 19320 | static int |
| 19321 | fast_find_position (w, pos, hpos, vpos, x, y, stop) | 19321 | fast_find_position (w, pos, hpos, vpos, x, y, stop) |
| @@ -19413,7 +19413,7 @@ fast_find_position (w, pos, hpos, vpos, x, y, stop) | |||
| 19413 | return 0; | 19413 | return 0; |
| 19414 | } | 19414 | } |
| 19415 | 19415 | ||
| 19416 | #endif /* not 0 */ | 19416 | #endif /* not 1 */ |
| 19417 | 19417 | ||
| 19418 | 19418 | ||
| 19419 | /* Find the position of the glyph for position POS in OBJECT in | 19419 | /* Find the position of the glyph for position POS in OBJECT in |