aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorPaul Eggert2019-01-31 15:31:41 -0800
committerPaul Eggert2019-01-31 15:33:21 -0800
commit47679e63230da94cffed568a4d5167ffc1baea96 (patch)
tree45a1f8a1ed3fe07174d509205a4ba1d393435758 /src/window.c
parent05d2fc7170fb66a87601b1c76ddae2c1b7b4b934 (diff)
downloademacs-47679e63230da94cffed568a4d5167ffc1baea96.tar.gz
emacs-47679e63230da94cffed568a4d5167ffc1baea96.zip
Prefer static to extern where either will do
* src/charset.c (charset_table_size): * src/pdumper.c (dump_private): * src/sysdep.c (init_sigsegv): * src/window.c (old_selected_window): Now static. * src/charset.c (charset_table_size): Now int, since the value always fits in int. * src/gtkutil.c (xg_gtk_initialized): Now present only if HAVE_XWIDGETS, to make it clearer that this is an xwidgets hack. All uses changed. * src/lread.c (ndefsubr): Remove; unused. * src/pdumper.h: Use usual GNU indenting style for functions, since my static-vs-extern checking hack relies on it. (dump_public): Always declare; simpler and doesn’t hurt. (pdumper_handle_page_fault): Remove unused decl.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index c0d745995a8..1b474a663a4 100644
--- a/src/window.c
+++ b/src/window.c
@@ -81,7 +81,7 @@ Lisp_Object selected_window;
81/* The value of selected_window at the last time window change 81/* The value of selected_window at the last time window change
82 functions were run. This is always the same as 82 functions were run. This is always the same as
83 FRAME_OLD_SELECTED_WINDOW (old_selected_frame). */ 83 FRAME_OLD_SELECTED_WINDOW (old_selected_frame). */
84Lisp_Object old_selected_window; 84static Lisp_Object old_selected_window;
85 85
86/* A list of all windows for use by next_window and Fwindow_list. 86/* A list of all windows for use by next_window and Fwindow_list.
87 Functions creating or deleting windows should invalidate this cache 87 Functions creating or deleting windows should invalidate this cache