diff options
| author | Karl Heuer | 1994-02-25 21:21:53 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-02-25 21:21:53 +0000 |
| commit | fe3d692136d42b84037165c6a53fe7f700342552 (patch) | |
| tree | 92e0963a17a9f7e998adb188ec5c7219c32cd2ee /src | |
| parent | 3c2dd2c035419d709c6ee0d174acddca77661581 (diff) | |
| download | emacs-fe3d692136d42b84037165c6a53fe7f700342552.tar.gz emacs-fe3d692136d42b84037165c6a53fe7f700342552.zip | |
(display_text_line): Allow for invisible overlays in next_invisible lookahead.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index da7af7d5b73..d304d25378d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2062,9 +2062,10 @@ display_text_line (w, start, vpos, hpos, taboffset) | |||
| 2062 | prop = Fget_char_property (position, Qinvisible, ww); | 2062 | prop = Fget_char_property (position, Qinvisible, ww); |
| 2063 | /* This is just an estimate to give reasonable | 2063 | /* This is just an estimate to give reasonable |
| 2064 | performance; nothing should go wrong if it is too small. */ | 2064 | performance; nothing should go wrong if it is too small. */ |
| 2065 | XFASTINT (limit) = pos + 50; | 2065 | limit = Fnext_overlay_change (position); |
| 2066 | endpos | 2066 | if (XFASTINT (limit) > pos + 50) |
| 2067 | = Fnext_single_property_change (position, Qinvisible, | 2067 | XFASTINT (limit) = pos + 50; |
| 2068 | endpos = Fnext_single_property_change (position, Qinvisible, | ||
| 2068 | Fcurrent_buffer (), limit); | 2069 | Fcurrent_buffer (), limit); |
| 2069 | if (INTEGERP (endpos)) | 2070 | if (INTEGERP (endpos)) |
| 2070 | next_invisible = XINT (endpos); | 2071 | next_invisible = XINT (endpos); |