diff options
author | Juri Linkov <juri@linkov.net> | 2022-04-03 19:51:46 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2022-04-03 19:51:46 +0300 |
commit | c0cf923b0ad6f72eafb58057f4df245bca3da658 (patch) | |
tree | eeddbc973e9985985c461a0f822fcb62c30d046b /lisp/tab-bar.el | |
parent | 3c6524140b7a5e68875541781c3c48853e763dc3 (diff) | |
download | emacs-c0cf923b0ad6f72eafb58057f4df245bca3da658.tar.gz |
* lisp/tab-bar.el (tab-bar-undo-close-tab): Update tab-bar-lines (bug#54684)
Diffstat (limited to 'lisp/tab-bar.el')
-rw-r--r-- | lisp/tab-bar.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index cf1cca4af3f..c4d450fe2a5 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"))) |