1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-30 18:23:20 -07:00

Remove an unused parameter of combine_updates

* 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 f92520d009
commit 76c64dcc80
3 changed files with 4 additions and 4 deletions

View file

@ -3951,7 +3951,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

@ -17592,7 +17592,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));