diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/insdel.c | 4 | ||||
| -rw-r--r-- | src/lisp.h | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c87dfb5056e..9791e2b4d35 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -4,10 +4,10 @@ | |||
| 4 | However, leave prepare_to_modify_buffer alone. It's never | 4 | However, leave prepare_to_modify_buffer alone. It's never |
| 5 | called from outside this function, but that appears to be a bug. | 5 | called from outside this function, but that appears to be a bug. |
| 6 | (combine_after_change_list, combine_after_change_buffer): | 6 | (combine_after_change_list, combine_after_change_buffer): |
| 7 | (adjust_after_replace): Now static. | 7 | (adjust_after_replace, signal_before_change): Now static. |
| 8 | (adjust_after_replace_noundo): Remove; unused. | 8 | (adjust_after_replace_noundo): Remove; unused. |
| 9 | * lisp.h (adjust_after_replace, adjust_after_replace_noundo): | 9 | * lisp.h (adjust_after_replace, adjust_after_replace_noundo): |
| 10 | Remove decls. | 10 | (signal_before_change): Remove decls. |
| 11 | 11 | ||
| 12 | * indent.c (val_compute_motion, val_vmotion): Now static. | 12 | * indent.c (val_compute_motion, val_vmotion): Now static. |
| 13 | 13 | ||
diff --git a/src/insdel.c b/src/insdel.c index 4bc25025a2f..8733054e9cd 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -66,6 +66,8 @@ static Lisp_Object combine_after_change_list; | |||
| 66 | static Lisp_Object combine_after_change_buffer; | 66 | static Lisp_Object combine_after_change_buffer; |
| 67 | 67 | ||
| 68 | Lisp_Object Qinhibit_modification_hooks; | 68 | Lisp_Object Qinhibit_modification_hooks; |
| 69 | |||
| 70 | static void signal_before_change (EMACS_INT, EMACS_INT, EMACS_INT *); | ||
| 69 | 71 | ||
| 70 | #define CHECK_MARKERS() \ | 72 | #define CHECK_MARKERS() \ |
| 71 | do \ | 73 | do \ |
| @@ -1997,7 +1999,7 @@ reset_var_on_error (Lisp_Object val) | |||
| 1997 | If PRESERVE_PTR is nonzero, we relocate *PRESERVE_PTR | 1999 | If PRESERVE_PTR is nonzero, we relocate *PRESERVE_PTR |
| 1998 | by holding its value temporarily in a marker. */ | 2000 | by holding its value temporarily in a marker. */ |
| 1999 | 2001 | ||
| 2000 | void | 2002 | static void |
| 2001 | signal_before_change (EMACS_INT start_int, EMACS_INT end_int, | 2003 | signal_before_change (EMACS_INT start_int, EMACS_INT end_int, |
| 2002 | EMACS_INT *preserve_ptr) | 2004 | EMACS_INT *preserve_ptr) |
| 2003 | { | 2005 | { |
diff --git a/src/lisp.h b/src/lisp.h index e25ae89dfaa..447fea7e8a7 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2568,7 +2568,6 @@ extern Lisp_Object del_range_2 (EMACS_INT, EMACS_INT, | |||
| 2568 | EMACS_INT, EMACS_INT, int); | 2568 | EMACS_INT, EMACS_INT, int); |
| 2569 | extern void modify_region (struct buffer *, EMACS_INT, EMACS_INT, int); | 2569 | extern void modify_region (struct buffer *, EMACS_INT, EMACS_INT, int); |
| 2570 | extern void prepare_to_modify_buffer (EMACS_INT, EMACS_INT, EMACS_INT *); | 2570 | extern void prepare_to_modify_buffer (EMACS_INT, EMACS_INT, EMACS_INT *); |
| 2571 | extern void signal_before_change (EMACS_INT, EMACS_INT, EMACS_INT *); | ||
| 2572 | extern void signal_after_change (EMACS_INT, EMACS_INT, EMACS_INT); | 2571 | extern void signal_after_change (EMACS_INT, EMACS_INT, EMACS_INT); |
| 2573 | extern void adjust_after_insert (EMACS_INT, EMACS_INT, EMACS_INT, | 2572 | extern void adjust_after_insert (EMACS_INT, EMACS_INT, EMACS_INT, |
| 2574 | EMACS_INT, EMACS_INT); | 2573 | EMACS_INT, EMACS_INT); |