]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove an unused parameter
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 14:54:39 +0000 (15:54 +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 627cbf05b53756883a789ff45727acf23f5066a4)

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 6a784431d46adf4ba23a47e6967d230e021101a2..5f85030ec602ba12716ffecd44c150d8670ff6ef 100644 (file)
@@ -17590,7 +17590,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));