emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 76c64dcc802 2/2: Remove an unused parameter of combine_updates


From: Gerd Moellmann
Subject: master 76c64dcc802 2/2: Remove an unused parameter of combine_updates
Date: Thu, 19 Dec 2024 05:06:03 -0500 (EST)

branch: master
commit 76c64dcc8025e42d1a85a053d8da58d5462a95ab
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>

    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.
---
 src/dispextern.h | 2 +-
 src/dispnew.c    | 4 ++--
 src/xdisp.c      | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/dispextern.h b/src/dispextern.h
index 20674a7c8b2..ea7b0399adc 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -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);
diff --git a/src/dispnew.c b/src/dispnew.c
index 37ec37b752e..cbc7d4d7aaf 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -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);
     }
 }
 
diff --git a/src/xdisp.c b/src/xdisp.c
index 585a9f32956..08016a6e2a5 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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));
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]