]> git.eshelyaron.com Git - emacs.git/commitdiff
* insdel.c (signal_before_change): Now static.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Apr 2011 00:49:57 +0000 (17:49 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Apr 2011 00:49:57 +0000 (17:49 -0700)
src/ChangeLog
src/insdel.c
src/lisp.h

index c87dfb5056e63fb602a725b14be6f0bfd4a8acf2..9791e2b4d356a44539509baaf6f613b5aef46d0e 100644 (file)
@@ -4,10 +4,10 @@
        However, leave prepare_to_modify_buffer alone.  It's never
        called from outside this function, but that appears to be a bug.
        (combine_after_change_list, combine_after_change_buffer):
-       (adjust_after_replace): Now static.
+       (adjust_after_replace, signal_before_change): Now static.
        (adjust_after_replace_noundo): Remove; unused.
        * lisp.h (adjust_after_replace, adjust_after_replace_noundo):
-       Remove decls.
+       (signal_before_change): Remove decls.
 
        * indent.c (val_compute_motion, val_vmotion): Now static.
 
index 4bc25025a2f5172fac8c784ffd26ae5930b64f12..8733054e9cd05b1466204f63e5f33f17ac2105f3 100644 (file)
@@ -66,6 +66,8 @@ static Lisp_Object combine_after_change_list;
 static Lisp_Object combine_after_change_buffer;
 
 Lisp_Object Qinhibit_modification_hooks;
+
+static void signal_before_change (EMACS_INT, EMACS_INT, EMACS_INT *);
 \f
 #define CHECK_MARKERS()                                \
   do                                           \
@@ -1997,7 +1999,7 @@ reset_var_on_error (Lisp_Object val)
    If PRESERVE_PTR is nonzero, we relocate *PRESERVE_PTR
    by holding its value temporarily in a marker.  */
 
-void
+static void
 signal_before_change (EMACS_INT start_int, EMACS_INT end_int,
                      EMACS_INT *preserve_ptr)
 {
index e25ae89dfaad5310d9a41f7ba83eea4e2441d53a..447fea7e8a7c3a7f87ea86e2c0332bf22bae87ac 100644 (file)
@@ -2568,7 +2568,6 @@ extern Lisp_Object del_range_2 (EMACS_INT, EMACS_INT,
                                EMACS_INT, EMACS_INT, int);
 extern void modify_region (struct buffer *, EMACS_INT, EMACS_INT, int);
 extern void prepare_to_modify_buffer (EMACS_INT, EMACS_INT, EMACS_INT *);
-extern void signal_before_change (EMACS_INT, EMACS_INT, EMACS_INT *);
 extern void signal_after_change (EMACS_INT, EMACS_INT, EMACS_INT);
 extern void adjust_after_insert (EMACS_INT, EMACS_INT, EMACS_INT,
                                 EMACS_INT, EMACS_INT);