/* Mark all the scroll bars to be removed; we'll redeem
the ones we want when we redisplay their windows. */
if (condemn_scroll_bars_hook)
- (*condemn_scroll_bars_hook) (f);
+ condemn_scroll_bars_hook (f);
if (FRAME_VISIBLE_P (f) && !FRAME_OBSCURED_P (f))
redisplay_windows (FRAME_ROOT_WINDOW (f));
/* Any scroll bars which redisplay_windows should have
nuked should now go away. */
if (judge_scroll_bars_hook)
- (*judge_scroll_bars_hook) (f);
+ judge_scroll_bars_hook (f);
/* If fonts changed, display again. */
if (fonts_changed_p)
{
w->force_start = Qt;
clear_glyph_matrix (w->desired_matrix);
- goto restore_buffers;
+ goto finish_scroll_bars;
}
if (w->cursor.vpos < 0 && !w->frozen_window_start_p)
{
clear_glyph_matrix (w->desired_matrix);
if (!try_window (window, startp))
- goto restore_buffers;
+ goto finish_scroll_bars;
}
}
#endif
if (fonts_changed_p)
- goto restore_buffers;
+ goto finish_scroll_bars;
if (tem > 0)
goto done;
}
if (fonts_changed_p)
- goto restore_buffers;
+ goto finish_scroll_bars;
if (w->cursor.vpos >= 0)
{
if (rc > 0)
goto done;
else if (rc < 0)
- goto restore_buffers;
+ goto finish_scroll_bars;
}
/* Finally, just choose place to start which centers point */
have to start a new redisplay since we need to re-adjust glyph
matrices. */
if (fonts_changed_p)
- goto restore_buffers;
+ goto finish_scroll_bars;
/* If cursor did not appear assume that the middle of the window is
in the first line of the window. Do it again with the next line.
}
if (fonts_changed_p)
- goto restore_buffers;
+ goto finish_scroll_bars;
}
if (!line_number_displayed
start = end = whole = 0;
/* Indicate what this scroll bar ought to be displaying now. */
- (*set_vertical_scroll_bar_hook) (w, end - start, whole, start);
+ set_vertical_scroll_bar_hook (w, end - start, whole, start);
/* Note that we actually used the scroll bar attached to this
window, so it shouldn't be deleted at the end of redisplay. */
- (*redeem_scroll_bar_hook) (w);
+ redeem_scroll_bar_hook (w);
}
- restore_buffers:
-
/* Restore current_buffer and value of point in it. */
TEMP_SET_PT_BOTH (CHARPOS (opoint), BYTEPOS (opoint));
set_buffer_internal_1 (old);
Vmax_mini_window_height = make_float (0.25);
DEFVAR_LISP ("resize-mini-windows", &Vresize_mini_windows,
- "*How to resize the mini-window.\n\
+ "*How to resize mini-windows.\n\
A value of nil means don't automatically resize mini-windows.\n\
-A value of t means resize it to fit the text displayed in it.\n\
+A value of t means resize them to fit the text displayed in them.\n\
A value of `grow-only', the default, means let mini-windows grow\n\
-only, until the its display becomes empty, at which point the mini-window\n\
-goes back to its normal size.");
+only, until their display becomes empty, at which point the windows\n\
+go back to their normal size.");
Vresize_mini_windows = Qgrow_only;
DEFVAR_BOOL ("cursor-in-non-selected-windows",
- &cursor_in_non_selected_windows,
+ cursor_in_non_selected_windows,
"*Non-nil means display a hollow cursor in non-selected windows.\n\
Nil means don't display a cursor there.");
cursor_in_non_selected_windows = 1;