diff options
Diffstat (limited to 'src/insdel.c')
-rw-r--r-- | src/insdel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/insdel.c b/src/insdel.c index 256102dfe9d..7f25a967d46 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -545,10 +545,10 @@ signal_before_change (start, end) { /* If buffer is unmodified, run a special hook for that case. */ if (current_buffer->save_modified >= MODIFF - && !NILP (Vfirst_change_function)) - { - call0 (Vfirst_change_function); - } + && !NILP (Vfirst_change_hook) + && !NILP (Vrun_hooks)) + call1 (Vrun_hooks, Qfirst_change_hook); + /* Now in any case run the before-change-function if any. */ if (!NILP (Vbefore_change_function)) { |