aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2012-12-26 03:51:21 +0100
committerJoakim Verona2012-12-26 03:51:21 +0100
commit039071b2f39251ee0a72eb50df2917382e5b1a24 (patch)
tree6d811bdcfa2430ec13df766bbc5bfcd567c6c026 /src
parent6b25efe34e227fb116d1648cf01993db62378518 (diff)
parent12384b01a92b5f2ac9af84767e04993efd6a18cc (diff)
downloademacs-039071b2f39251ee0a72eb50df2917382e5b1a24.tar.gz
emacs-039071b2f39251ee0a72eb50df2917382e5b1a24.zip
auto upstream
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/window.c3
-rw-r--r--src/window.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a2b78cf5679..91fa2cb5f6e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12012-12-26 Paul Eggert <eggert@cs.ucla.edu>
2
3 * window.c (select_window_1): Now static, since it's used only here.
4
12012-12-25 Eli Zaretskii <eliz@gnu.org> 52012-12-25 Eli Zaretskii <eliz@gnu.org>
2 6
3 * window.c (window_body_cols): Subtract display margins from the 7 * window.c (window_body_cols): Subtract display margins from the
diff --git a/src/window.c b/src/window.c
index 1ca2b103b3f..8d307a314be 100644
--- a/src/window.c
+++ b/src/window.c
@@ -88,6 +88,7 @@ static Lisp_Object window_list_1 (Lisp_Object, Lisp_Object, Lisp_Object);
88static int window_resize_check (struct window *, int); 88static int window_resize_check (struct window *, int);
89static void window_resize_apply (struct window *, int); 89static void window_resize_apply (struct window *, int);
90static Lisp_Object select_window (Lisp_Object, Lisp_Object, int); 90static Lisp_Object select_window (Lisp_Object, Lisp_Object, int);
91static void select_window_1 (Lisp_Object, bool);
91 92
92/* This is the window in which the terminal's cursor should 93/* This is the window in which the terminal's cursor should
93 be left when nothing is being done with it. This must 94 be left when nothing is being done with it. This must
@@ -533,7 +534,7 @@ select_window (Lisp_Object window, Lisp_Object norecord, int inhibit_point_swap)
533/* Select window with a minimum of fuss, i.e. don't record the change anywhere 534/* Select window with a minimum of fuss, i.e. don't record the change anywhere
534 (not even for redisplay's benefit), and assume that the window's frame is 535 (not even for redisplay's benefit), and assume that the window's frame is
535 already selected. */ 536 already selected. */
536void 537static void
537select_window_1 (Lisp_Object window, bool inhibit_point_swap) 538select_window_1 (Lisp_Object window, bool inhibit_point_swap)
538{ 539{
539 /* Store the old selected window's buffer's point in pointm of the old 540 /* Store the old selected window's buffer's point in pointm of the old
diff --git a/src/window.h b/src/window.h
index 716b9771160..33e88c6f230 100644
--- a/src/window.h
+++ b/src/window.h
@@ -978,7 +978,6 @@ struct glyph *get_phys_cursor_glyph (struct window *w);
978extern Lisp_Object Qwindowp, Qwindow_live_p; 978extern Lisp_Object Qwindowp, Qwindow_live_p;
979extern Lisp_Object Vwindow_list; 979extern Lisp_Object Vwindow_list;
980 980
981extern void select_window_1 (Lisp_Object window, bool inhibit_point_swap);
982extern struct window *decode_live_window (Lisp_Object); 981extern struct window *decode_live_window (Lisp_Object);
983extern struct window *decode_any_window (Lisp_Object); 982extern struct window *decode_any_window (Lisp_Object);
984extern bool compare_window_configurations (Lisp_Object, Lisp_Object, bool); 983extern bool compare_window_configurations (Lisp_Object, Lisp_Object, bool);