emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111332: * window.c (select_window_1)


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111332: * window.c (select_window_1): Now static.
Date: Tue, 25 Dec 2012 18:45:43 -0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111332
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Tue 2012-12-25 18:45:43 -0800
message:
  * window.c (select_window_1): Now static.
modified:
  src/ChangeLog
  src/window.c
  src/window.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-12-25 17:37:29 +0000
+++ b/src/ChangeLog     2012-12-26 02:45:43 +0000
@@ -1,3 +1,7 @@
+2012-12-26  Paul Eggert  <address@hidden>
+
+       * window.c (select_window_1): Now static, since it's used only here.
+
 2012-12-25  Eli Zaretskii  <address@hidden>
 
        * window.c (window_body_cols): Subtract display margins from the

=== modified file 'src/window.c'
--- a/src/window.c      2012-12-25 17:37:29 +0000
+++ b/src/window.c      2012-12-26 02:45:43 +0000
@@ -87,6 +87,7 @@
 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 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

=== modified file 'src/window.h'
--- a/src/window.h      2012-12-17 19:17:06 +0000
+++ b/src/window.h      2012-12-26 02:45:43 +0000
@@ -978,7 +978,6 @@
 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);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]