]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove an unused parameter of combine_updates
authorGerd Möllmann <gerd@gnu.org>
Sat, 16 Nov 2024 07:57:35 +0000 (08:57 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:15:49 +0000 (16:15 +0100)
* src/dispnew.c (combine_updates): Remove unused parameter inhibit_scrolling.
* src/xdisp.c (redisplay_internal): Adjust caller.
* src/dispextern.h: Change function prototype.

(cherry picked from commit 76c64dcc8025e42d1a85a053d8da58d5462a95ab)

src/dispextern.h
src/dispnew.c
src/xdisp.c

index 20674a7c8b21c808ac72a74fe52d53714e2290ff..ea7b0399adc151afd44b82d40055fb70189c57bd 100644 (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);
index f23aea148e076e97c12740e5e4d2ef09cdfc0888..21411f2e147193c881e75663e984da25dbd6d366 100644 (file)
@@ -3984,12 +3984,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);
     }
 }
 
index f8f110b8bb1a05082b7d14113a68eaebc6eb02f1..013fd543ff20b548e9c3c8afed981fcd643629f9 100644 (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));