Mercurial > emacs
changeset 51837:87ec975874ab
(signal_before_change, signal_after_change): Use new type for
overlays_(before|after).
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 09 Jul 2003 14:50:01 +0000 |
parents | 483cd3e6154f |
children | d0e8a670d28d |
files | src/insdel.c |
diffstat | 1 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/insdel.c Wed Jul 09 14:49:10 2003 +0000 +++ b/src/insdel.c Wed Jul 09 14:50:01 2003 +0000 @@ -2060,8 +2060,7 @@ UNGCPRO; } - if (!NILP (current_buffer->overlays_before) - || !NILP (current_buffer->overlays_after)) + if (current_buffer->overlays_before || current_buffer->overlays_after) { PRESERVE_VALUE; report_overlay_modification (FETCH_START, FETCH_END, 0, @@ -2095,8 +2094,8 @@ just record the args that we were going to use. */ if (! NILP (Vcombine_after_change_calls) && NILP (Vbefore_change_functions) - && NILP (current_buffer->overlays_before) - && NILP (current_buffer->overlays_after)) + && !current_buffer->overlays_before + && !current_buffer->overlays_after) { Lisp_Object elt; @@ -2161,8 +2160,7 @@ UNGCPRO; } - if (!NILP (current_buffer->overlays_before) - || !NILP (current_buffer->overlays_after)) + if (current_buffer->overlays_before || current_buffer->overlays_after) report_overlay_modification (make_number (charpos), make_number (charpos + lenins), 1,