Mercurial > emacs
comparison src/buffer.c @ 4574:503af6aa135b
(verify_overlay_modification): initialize endpos.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 11 Aug 1993 21:08:13 +0000 |
parents | 9657ef911049 |
children | 1fc792473491 |
comparison
equal
deleted
inserted
replaced
4573:5a2c0c38a0a1 | 4574:503af6aa135b |
---|---|
1944 overlay = XCONS (tail)->car; | 1944 overlay = XCONS (tail)->car; |
1945 | 1945 |
1946 ostart = OVERLAY_START (overlay); | 1946 ostart = OVERLAY_START (overlay); |
1947 oend = OVERLAY_END (overlay); | 1947 oend = OVERLAY_END (overlay); |
1948 startpos = OVERLAY_POSITION (ostart); | 1948 startpos = OVERLAY_POSITION (ostart); |
1949 endpos = OVERLAY_POSITION (oend); | |
1949 if (XFASTINT (end) < startpos) | 1950 if (XFASTINT (end) < startpos) |
1950 break; | 1951 break; |
1951 if (XFASTINT (end) == startpos && insertion) | 1952 if (XFASTINT (end) == startpos && insertion) |
1952 { | 1953 { |
1953 prop = Foverlay_get (overlay, Qinsert_in_front_hooks); | 1954 prop = Foverlay_get (overlay, Qinsert_in_front_hooks); |