emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals-release/activities 68dc0e0d55 033/103: Fix: Don't redis


From: ELPA Syncer
Subject: [elpa] externals-release/activities 68dc0e0d55 033/103: Fix: Don't redisplay
Date: Tue, 30 Jan 2024 03:57:48 -0500 (EST)

branch: externals-release/activities
commit 68dc0e0d55ed19c1ecdfc33cba6597d30e6c76c9
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Fix: Don't redisplay
    
    This causes flickering when activities's states are automatically
    saved.  Obvious in hindsight.  I hope that using copy-tree solves the
    bug...
---
 activity-tabs.el | 4 +---
 activity.el      | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/activity-tabs.el b/activity-tabs.el
index c518e74368..60022b80ae 100644
--- a/activity-tabs.el
+++ b/activity-tabs.el
@@ -86,9 +86,7 @@ Selects its tab, making one if needed.  Its state is not 
changed."
   (if-let ((tab (activity-tabs--tab activity)))
       (tab-bar-switch-to-tab (alist-get 'name tab))
     (tab-bar-new-tab))
-  (tab-bar-rename-tab (activity-name-for activity))
-  ;; Not sure if calling `redisplay' is necessary.
-  (redisplay))
+  (tab-bar-rename-tab (activity-name-for activity)))
 
 (defun activity-tabs--tab (activity)
   "Return ACTIVITY's tab."
diff --git a/activity.el b/activity.el
index 02e9c60a65..b45b472ea3 100644
--- a/activity.el
+++ b/activity.el
@@ -391,9 +391,7 @@ Select's ACTIVITY's frame, making a new one if needed.  Its 
state
 is not changed."
   (select-frame (or (activity--frame activity)
                     (make-frame `((activity . ,activity)))))
-  (set-frame-name (activity-name-for activity))
-  ;; Not sure if calling `redisplay' is necessary.
-  (redisplay))
+  (set-frame-name (activity-name-for activity)))
 
 (defun activity--frame (activity)
   "Return ACTIVITY's frame."



reply via email to

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