From: Gerd Moellmann Date: Thu, 22 Jun 2000 19:35:07 +0000 (+0000) Subject: (struct it): Add member add_overlay_start. X-Git-Tag: emacs-pretest-21.0.90~3137 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=64f3a16632337bbfb91531cdd6d1fe137fb59f5c;p=emacs.git (struct it): Add member add_overlay_start. --- diff --git a/src/ChangeLog b/src/ChangeLog index 84224e57ad0..1f925dac136 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,21 @@ +2000-06-22 Gerd Moellmann + + * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero. + (handle_invisible_prop): Record the start of invisible text in + it->add_overlay_start. + (struct overlay_entry): Add member `overlay'. + (handle_overlay_change): Simplify. + (next_overlay_string): After having processed overlay strings at the + end of the buffer, record that fact in + it->overlay_strings_at_end_processed_p. + (compare_overlay_entries): If before- and after-strings come + from the same overlay, let before-strings come first. + (RECORD_OVERLAY_STRING): Record the overlay that strings come from. + (load_overlay_strings): Take it->add_overlay_start into account + when adding overlay strings. + + * dispextern.h (struct it): Add member add_overlay_start. + 2000-06-22 Dave Love * s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500. diff --git a/src/dispextern.h b/src/dispextern.h index e53cdfb3a6e..4d81e9e4e27 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -1571,6 +1571,10 @@ struct it OVERLAY_STRING_CHUNK_SIZE. */ int n_overlay_strings; + /* If non-zero, an additional overlay start position to take overlay + strings from. */ + int add_overlay_start; + /* If non-nil, a Lisp string being processed. If current.overlay_string_index >= 0, this is an overlay string from pos. */