Remove an unused parameter

* src/dispnew.c (combine_updates): Remove unused parameter inhibit_scrolling.
* src/xdisp.c (redisplay_internal): Adjust caller.
* src/dispextern.h: Change function prototype.
This commit is contained in:
Gerd Möllmann 2024-11-16 08:57:35 +01:00
parent 36c81859f6
commit 627cbf05b5
3 changed files with 4 additions and 4 deletions

View file

@ -3922,7 +3922,7 @@ Lisp_Object frames_in_reverse_z_order (struct frame *f, bool visible);
bool is_tty_frame (struct frame *f);
bool is_tty_child_frame (struct frame *f);
bool is_tty_root_frame (struct frame *f);
void combine_updates (Lisp_Object root_frames, bool inhibit_id_p);
void combine_updates (Lisp_Object root_frames);
void combine_updates_for_frame (struct frame *f, bool inhibit_id_p);
void tty_raise_lower_frame (struct frame *f, bool raise);
int max_child_z_order (struct frame *parent);

View file

@ -3987,12 +3987,12 @@ combine_updates_for_frame (struct frame *f, bool inhibit_scrolling)
redisplay_internal as the last step of redisplaying. */
void
combine_updates (Lisp_Object roots, bool inhibit_scrolling)
combine_updates (Lisp_Object roots)
{
for (; CONSP (roots); roots = XCDR (roots))
{
struct frame *root = XFRAME (XCAR (roots));
combine_updates_for_frame (root, inhibit_scrolling);
combine_updates_for_frame (root, false);
}
}

View file

@ -17588,7 +17588,7 @@ redisplay_internal (void)
}
if (CONSP (tty_root_frames))
combine_updates (tty_root_frames, false);
combine_updates (tty_root_frames);
eassert (EQ (XFRAME (selected_frame)->selected_window, selected_window));