diff src/insdel.c @ 1821:04fb1d3d6992

JimB's changes since January 18th
author Jim Blandy <jimb@redhat.com>
date Tue, 26 Jan 1993 01:58:16 +0000
parents 74b26ab86df4
children 05dd60327cc4
line wrap: on
line diff
--- a/src/insdel.c	Tue Jan 26 01:56:29 1993 +0000
+++ b/src/insdel.c	Tue Jan 26 01:58:16 1993 +0000
@@ -545,10 +545,10 @@
 {
   /* 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))
     {