diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/buffer.c b/src/buffer.c index 8cb523596a2..d8742eb2c61 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -2057,9 +2057,9 @@ verify_overlay_modification (start, end) | |||
| 2057 | call_overlay_mod_hooks (prop, overlay, start, end); | 2057 | call_overlay_mod_hooks (prop, overlay, start, end); |
| 2058 | } | 2058 | } |
| 2059 | } | 2059 | } |
| 2060 | if (insertion | 2060 | /* Test for intersecting intervals. This does the right thing |
| 2061 | ? (XFASTINT (start) > startpos && XFASTINT (end) < endpos) | 2061 | for both insertion and deletion. */ |
| 2062 | : (XFASTINT (start) >= startpos && XFASTINT (end) <= endpos)) | 2062 | if (XFASTINT (end) > startpos && XFASTINT (start) < endpos) |
| 2063 | { | 2063 | { |
| 2064 | prop = Foverlay_get (overlay, Qmodification_hooks); | 2064 | prop = Foverlay_get (overlay, Qmodification_hooks); |
| 2065 | if (!NILP (prop)) | 2065 | if (!NILP (prop)) |
| @@ -2103,9 +2103,9 @@ verify_overlay_modification (start, end) | |||
| 2103 | call_overlay_mod_hooks (prop, overlay, start, end); | 2103 | call_overlay_mod_hooks (prop, overlay, start, end); |
| 2104 | } | 2104 | } |
| 2105 | } | 2105 | } |
| 2106 | if (insertion | 2106 | /* Test for intersecting intervals. This does the right thing |
| 2107 | ? (XFASTINT (start) > startpos && XFASTINT (end) < endpos) | 2107 | for both insertion and deletion. */ |
| 2108 | : (XFASTINT (start) >= startpos && XFASTINT (end) <= endpos)) | 2108 | if (XFASTINT (end) > startpos && XFASTINT (start) < endpos) |
| 2109 | { | 2109 | { |
| 2110 | prop = Foverlay_get (overlay, Qmodification_hooks); | 2110 | prop = Foverlay_get (overlay, Qmodification_hooks); |
| 2111 | if (!NILP (prop)) | 2111 | if (!NILP (prop)) |