emacs-diffs
[Top][All Lists]
Advanced

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

master c0cf923b0a: * lisp/tab-bar.el (tab-bar-undo-close-tab): Update ta


From: Juri Linkov
Subject: master c0cf923b0a: * lisp/tab-bar.el (tab-bar-undo-close-tab): Update tab-bar-lines (bug#54684)
Date: Sun, 3 Apr 2022 12:52:01 -0400 (EDT)

branch: master
commit c0cf923b0ad6f72eafb58057f4df245bca3da658
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * lisp/tab-bar.el (tab-bar-undo-close-tab): Update tab-bar-lines (bug#54684)
---
 lisp/tab-bar.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index cf1cca4af3..c4d450fe2a 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -1659,9 +1659,10 @@ happens interactively)."
           (setq index (max 0 (min index (length tabs))))
           (cl-pushnew tab (nthcdr index tabs))
           (when (eq index 0)
-            ;; pushnew handles the head of tabs but not frame-parameter
+            ;; `pushnew' handles the head of tabs but not frame-parameter
             (tab-bar-tabs-set tabs))
-          (tab-bar-select-tab (1+ index))))
+          (tab-bar-select-tab (1+ index)))
+        (tab-bar--update-tab-bar-lines))
 
     (message "No more closed tabs to undo")))
 



reply via email to

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