aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2011-04-13 17:49:57 -0700
committerPaul Eggert2011-04-13 17:49:57 -0700
commit4889fc82cf51dacb7435e33c5230f53c1251b0d4 (patch)
tree09044d6b15df11aa8152efb7e05037c63ca61bad
parent77382fcc33809a84866968ed3f969ea65ea4f1f7 (diff)
downloademacs-4889fc82cf51dacb7435e33c5230f53c1251b0d4.tar.gz
emacs-4889fc82cf51dacb7435e33c5230f53c1251b0d4.zip
* insdel.c (signal_before_change): Now static.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/insdel.c4
-rw-r--r--src/lisp.h1
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;
66static Lisp_Object combine_after_change_buffer; 66static Lisp_Object combine_after_change_buffer;
67 67
68Lisp_Object Qinhibit_modification_hooks; 68Lisp_Object Qinhibit_modification_hooks;
69
70static 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
2000void 2002static void
2001signal_before_change (EMACS_INT start_int, EMACS_INT end_int, 2003signal_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);
2569extern void modify_region (struct buffer *, EMACS_INT, EMACS_INT, int); 2569extern void modify_region (struct buffer *, EMACS_INT, EMACS_INT, int);
2570extern void prepare_to_modify_buffer (EMACS_INT, EMACS_INT, EMACS_INT *); 2570extern void prepare_to_modify_buffer (EMACS_INT, EMACS_INT, EMACS_INT *);
2571extern void signal_before_change (EMACS_INT, EMACS_INT, EMACS_INT *);
2572extern void signal_after_change (EMACS_INT, EMACS_INT, EMACS_INT); 2571extern void signal_after_change (EMACS_INT, EMACS_INT, EMACS_INT);
2573extern void adjust_after_insert (EMACS_INT, EMACS_INT, EMACS_INT, 2572extern void adjust_after_insert (EMACS_INT, EMACS_INT, EMACS_INT,
2574 EMACS_INT, EMACS_INT); 2573 EMACS_INT, EMACS_INT);