]> git.eshelyaron.com Git - emacs.git/commitdiff
(try_window): Add #ifdef USE_TEXT_PROPERTIES around call to Fget_text_property.
authorKarl Heuer <kwzh@gnu.org>
Thu, 24 Feb 1994 19:42:35 +0000 (19:42 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 24 Feb 1994 19:42:35 +0000 (19:42 +0000)
src/xdisp.c

index 7fcb800ec3eb6f5eb1035ef873cb02ec0d32f4ea..f109060287c821dfd8774a1d5c6fa787d7c23505 100644 (file)
@@ -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;
     }