# HG changeset patch # User Kim F. Storm # Date 1014934065 0 # Node ID 23cddac4d0b7545926f0cca6dda6b32666492afe # Parent 6f59313247d8872061eff40728b810826b127d96 (minibuf_selected_window): Renamed from Vminibuf_selected_window. Users changed. (syms_of_window): Staticpro it. diff -r 6f59313247d8 -r 23cddac4d0b7 src/window.c --- a/src/window.c Thu Feb 28 16:20:16 2002 +0000 +++ b/src/window.c Thu Feb 28 22:07:45 2002 +0000 @@ -123,7 +123,7 @@ /* Non-nil means it is the window whose mode line should be shown as the selected window when the minibuffer is selected. */ -Lisp_Object Vminibuf_selected_window; +Lisp_Object minibuf_selected_window; /* Non-nil means it is the window for C-M-v to scroll when the mini-buffer is selected. */ @@ -5162,7 +5162,7 @@ window_min_width = XINT (data->min_width); Vminibuf_scroll_window = data->minibuf_scroll_window; - Vminibuf_selected_window = data->minibuf_selected_window; + minibuf_selected_window = data->minibuf_selected_window; return (FRAME_LIVE_P (f) ? Qt : Qnil); } @@ -5373,7 +5373,7 @@ data->current_window = FRAME_SELECTED_WINDOW (f); XSETBUFFER (data->current_buffer, current_buffer); data->minibuf_scroll_window = minibuf_level > 0 ? Vminibuf_scroll_window : Qnil; - data->minibuf_selected_window = minibuf_level > 0 ? Vminibuf_selected_window : Qnil; + data->minibuf_selected_window = minibuf_level > 0 ? minibuf_selected_window : Qnil; data->root_window = FRAME_ROOT_WINDOW (f); data->focus_frame = FRAME_FOCUS_FRAME (f); XSETINT (data->min_height, window_min_height); @@ -5787,6 +5787,7 @@ staticpro (&Qtemp_buffer_show_hook); staticpro (&Vwindow_list); + staticpro (&minibuf_selected_window); DEFVAR_LISP ("temp-buffer-show-function", &Vtemp_buffer_show_function, doc: /* Non-nil means call as function to display a help buffer.