Mercurial > emacs
changeset 43594:23cddac4d0b7
(minibuf_selected_window): Renamed from
Vminibuf_selected_window. Users changed.
(syms_of_window): Staticpro it.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 28 Feb 2002 22:07:45 +0000 |
parents | 6f59313247d8 |
children | b7964dae2379 |
files | src/window.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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.