projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c65241
)
* lisp/tab-bar.el (tab-bar-undo-close-tab): Update tab-bar-lines (bug#54684)
author
Juri Linkov
<juri@linkov.net>
Sun, 3 Apr 2022 16:51:46 +0000
(19:51 +0300)
committer
Juri Linkov
<juri@linkov.net>
Sun, 3 Apr 2022 16:51:46 +0000
(19:51 +0300)
lisp/tab-bar.el
patch
|
blob
|
history
diff --git
a/lisp/tab-bar.el
b/lisp/tab-bar.el
index cf1cca4af3f95f5d238943a12fe4a0608e38e1a3..c4d450fe2a57c98fc10909945418453ba12a809e 100644
(file)
--- 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")))