diff options
Diffstat (limited to 'src/insdel.c')
| -rw-r--r-- | src/insdel.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/insdel.c b/src/insdel.c index 7b4ee3b7b06..4463721b897 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Buffer insertion/deletion and gap motion for GNU Emacs. | 1 | /* Buffer insertion/deletion and gap motion for GNU Emacs. |
| 2 | 2 | ||
| 3 | Copyright (C) 1985-1986, 1993-1995, 1997-2014 Free Software Foundation, Inc. | 3 | Copyright (C) 1985-1986, 1993-1995, 1997-2015 Free Software Foundation, |
| 4 | Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -51,8 +52,6 @@ static Lisp_Object combine_after_change_list; | |||
| 51 | /* Buffer which combine_after_change_list is about. */ | 52 | /* Buffer which combine_after_change_list is about. */ |
| 52 | static Lisp_Object combine_after_change_buffer; | 53 | static Lisp_Object combine_after_change_buffer; |
| 53 | 54 | ||
| 54 | Lisp_Object Qinhibit_modification_hooks; | ||
| 55 | |||
| 56 | static void signal_before_change (ptrdiff_t, ptrdiff_t, ptrdiff_t *); | 55 | static void signal_before_change (ptrdiff_t, ptrdiff_t, ptrdiff_t *); |
| 57 | 56 | ||
| 58 | /* Also used in marker.c to enable expensive marker checks. */ | 57 | /* Also used in marker.c to enable expensive marker checks. */ |
| @@ -1780,8 +1779,6 @@ modify_text (ptrdiff_t start, ptrdiff_t end) | |||
| 1780 | bset_point_before_scroll (current_buffer, Qnil); | 1779 | bset_point_before_scroll (current_buffer, Qnil); |
| 1781 | } | 1780 | } |
| 1782 | 1781 | ||
| 1783 | Lisp_Object Qregion_extract_function; | ||
| 1784 | |||
| 1785 | /* 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, |
| 1786 | which are char positions. | 1783 | which are char positions. |
| 1787 | 1784 | ||
| @@ -1994,7 +1991,7 @@ signal_before_change (ptrdiff_t start_int, ptrdiff_t end_int, | |||
| 1994 | { | 1991 | { |
| 1995 | PRESERVE_VALUE; | 1992 | PRESERVE_VALUE; |
| 1996 | PRESERVE_START_END; | 1993 | PRESERVE_START_END; |
| 1997 | Frun_hooks (1, &Qfirst_change_hook); | 1994 | run_hook (Qfirst_change_hook); |
| 1998 | } | 1995 | } |
| 1999 | 1996 | ||
| 2000 | /* Now run the before-change-functions if any. */ | 1997 | /* Now run the before-change-functions if any. */ |