* window.c (select_window_1): Now static.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Dec 2012 02:45:43 +0000 (18:45 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Dec 2012 02:45:43 +0000 (18:45 -0800)
src/ChangeLog
src/window.c
src/window.h

index a2b78cf..91fa2cb 100644 (file)
@@ -1,3 +1,7 @@
+2012-12-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * window.c (select_window_1): Now static, since it's used only here.
+
 2012-12-25  Eli Zaretskii  <eliz@gnu.org>
 
        * window.c (window_body_cols): Subtract display margins from the
index 3fca5b7..34a8f8b 100644 (file)
@@ -87,6 +87,7 @@ static Lisp_Object window_list_1 (Lisp_Object, Lisp_Object, Lisp_Object);
 static int window_resize_check (struct window *, int);
 static void window_resize_apply (struct window *, int);
 static Lisp_Object select_window (Lisp_Object, Lisp_Object, int);
+static void select_window_1 (Lisp_Object, bool);
 
 /* This is the window in which the terminal's cursor should
    be left when nothing is being done with it.  This must
@@ -532,7 +533,7 @@ select_window (Lisp_Object window, Lisp_Object norecord, int inhibit_point_swap)
 /* Select window with a minimum of fuss, i.e. don't record the change anywhere
    (not even for redisplay's benefit), and assume that the window's frame is
    already selected.  */
-void
+static void
 select_window_1 (Lisp_Object window, bool inhibit_point_swap)
 {
   /* Store the old selected window's buffer's point in pointm of the old
index 716b977..33e88c6 100644 (file)
@@ -978,7 +978,6 @@ struct glyph *get_phys_cursor_glyph (struct window *w);
 extern Lisp_Object Qwindowp, Qwindow_live_p;
 extern Lisp_Object Vwindow_list;
 
-extern void select_window_1 (Lisp_Object window, bool inhibit_point_swap);
 extern struct window *decode_live_window (Lisp_Object);
 extern struct window *decode_any_window (Lisp_Object);
 extern bool compare_window_configurations (Lisp_Object, Lisp_Object, bool);