From e885523c6eceac2ab2c2f1d8e7792d83b0ad301a Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 24 Feb 1994 19:42:35 +0000 Subject: [PATCH] (try_window): Add #ifdef USE_TEXT_PROPERTIES around call to Fget_text_property. --- src/xdisp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) last_text_vpos /* Next line, unless prev line ended in end of buffer with no cr */ = vpos - (val.vpos && (FETCH_CHAR (val.bufpos - 1) != '\n' +#ifdef USE_TEXT_PROPERTIES || ! NILP (Fget_text_property (val.bufpos-1, Qinvisible, - Fcurrent_buffer ())))); + Fcurrent_buffer ())) +#endif + )); pos = val.bufpos; } -- 2.39.5