diff options
Diffstat (limited to 'src/insdel.c')
| -rw-r--r-- | src/insdel.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/insdel.c b/src/insdel.c index a1bec4a9a6d..4463721b897 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -52,8 +52,6 @@ static Lisp_Object combine_after_change_list; | |||
| 52 | /* Buffer which combine_after_change_list is about. */ | 52 | /* Buffer which combine_after_change_list is about. */ |
| 53 | static Lisp_Object combine_after_change_buffer; | 53 | static Lisp_Object combine_after_change_buffer; |
| 54 | 54 | ||
| 55 | Lisp_Object Qinhibit_modification_hooks; | ||
| 56 | |||
| 57 | static void signal_before_change (ptrdiff_t, ptrdiff_t, ptrdiff_t *); | 55 | static void signal_before_change (ptrdiff_t, ptrdiff_t, ptrdiff_t *); |
| 58 | 56 | ||
| 59 | /* Also used in marker.c to enable expensive marker checks. */ | 57 | /* Also used in marker.c to enable expensive marker checks. */ |
| @@ -1781,8 +1779,6 @@ modify_text (ptrdiff_t start, ptrdiff_t end) | |||
| 1781 | bset_point_before_scroll (current_buffer, Qnil); | 1779 | bset_point_before_scroll (current_buffer, Qnil); |
| 1782 | } | 1780 | } |
| 1783 | 1781 | ||
| 1784 | Lisp_Object Qregion_extract_function; | ||
| 1785 | |||
| 1786 | /* Check that it is okay to modify the buffer between START and END, | 1782 | /* Check that it is okay to modify the buffer between START and END, |
| 1787 | which are char positions. | 1783 | which are char positions. |
| 1788 | 1784 | ||
| @@ -1995,7 +1991,7 @@ signal_before_change (ptrdiff_t start_int, ptrdiff_t end_int, | |||
| 1995 | { | 1991 | { |
| 1996 | PRESERVE_VALUE; | 1992 | PRESERVE_VALUE; |
| 1997 | PRESERVE_START_END; | 1993 | PRESERVE_START_END; |
| 1998 | Frun_hooks (1, &Qfirst_change_hook); | 1994 | run_hook (Qfirst_change_hook); |
| 1999 | } | 1995 | } |
| 2000 | 1996 | ||
| 2001 | /* Now run the before-change-functions if any. */ | 1997 | /* Now run the before-change-functions if any. */ |