summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/insdel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 24704015f77..2a6438b9bcb 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -774,8 +774,8 @@ signal_before_change (start, end)
That way, if there's an error in them, they will stay nil. */
before_change_functions = Vbefore_change_functions;
after_change_functions = Vafter_change_functions;
- Vbefore_change_function = Qnil;
- Vafter_change_function = Qnil;
+ Vbefore_change_functions = Qnil;
+ Vafter_change_functions = Qnil;
GCPRO2 (before_change_functions, after_change_functions);
/* Actually run the hook functions. */
@@ -827,8 +827,8 @@ signal_after_change (pos, lendel, lenins)
That way, if there's an error in them, they will stay nil. */
before_change_functions = Vbefore_change_functions;
after_change_functions = Vafter_change_functions;
- Vbefore_change_function = Qnil;
- Vafter_change_function = Qnil;
+ Vbefore_change_functions = Qnil;
+ Vafter_change_functions = Qnil;
GCPRO2 (before_change_functions, after_change_functions);
/* Actually run the hook functions. */