From: Karl Heuer Date: Thu, 24 Feb 1994 19:42:35 +0000 (+0000) Subject: (try_window): Add #ifdef USE_TEXT_PROPERTIES around call to Fget_text_property. X-Git-Tag: emacs-19.34~9787 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e885523c6eceac2ab2c2f1d8e7792d83b0ad301a;p=emacs.git (try_window): Add #ifdef USE_TEXT_PROPERTIES around call to Fget_text_property. --- 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; }