diff options
| author | Karl Heuer | 1994-02-24 19:42:35 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-02-24 19:42:35 +0000 |
| commit | e885523c6eceac2ab2c2f1d8e7792d83b0ad301a (patch) | |
| tree | ed2c25314a32a8ad54490702a525c23fd0e5dfa1 /src | |
| parent | 99830d6315af694306a2d9aa28c282f983153736 (diff) | |
| download | emacs-e885523c6eceac2ab2c2f1d8e7792d83b0ad301a.tar.gz emacs-e885523c6eceac2ab2c2f1d8e7792d83b0ad301a.zip | |
(try_window): Add #ifdef USE_TEXT_PROPERTIES around call to Fget_text_property.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 7fcb800ec3e..f109060287c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1368,9 +1368,12 @@ try_window (window, pos) | |||
| 1368 | last_text_vpos | 1368 | last_text_vpos |
| 1369 | /* Next line, unless prev line ended in end of buffer with no cr */ | 1369 | /* Next line, unless prev line ended in end of buffer with no cr */ |
| 1370 | = vpos - (val.vpos && (FETCH_CHAR (val.bufpos - 1) != '\n' | 1370 | = vpos - (val.vpos && (FETCH_CHAR (val.bufpos - 1) != '\n' |
| 1371 | #ifdef USE_TEXT_PROPERTIES | ||
| 1371 | || ! NILP (Fget_text_property (val.bufpos-1, | 1372 | || ! NILP (Fget_text_property (val.bufpos-1, |
| 1372 | Qinvisible, | 1373 | Qinvisible, |
| 1373 | Fcurrent_buffer ())))); | 1374 | Fcurrent_buffer ())) |
| 1375 | #endif | ||
| 1376 | )); | ||
| 1374 | pos = val.bufpos; | 1377 | pos = val.bufpos; |
| 1375 | } | 1378 | } |
| 1376 | 1379 | ||