summaryrefslogtreecommitdiff
path: root/src/intervals.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intervals.c')
-rw-r--r--src/intervals.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intervals.c b/src/intervals.c
index 8a77073278a..c21078019e2 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -1475,9 +1475,9 @@ verify_interval_modification (buf, start, end)
/* Run both insert hooks (just once if they're the same). */
if (!NULL_INTERVAL_P (prev))
- prev_mod_hooks = textget (prev->plist, Qinsert_after_hooks);
+ prev_mod_hooks = textget (prev->plist, Qinsert_behind_hooks);
if (!NULL_INTERVAL_P (i))
- mod_hooks = textget (i->plist, Qinsert_before_hooks);
+ mod_hooks = textget (i->plist, Qinsert_in_front_hooks);
GCPRO1 (mod_hooks);
if (! NILP (prev_mod_hooks))
call_mod_hooks (prev_mod_hooks, make_number (start),