summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/tab-bar.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index e30a5c44119..2684ff998b7 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -1945,7 +1945,7 @@ Otherwise, prefer buffers of the current tab."
(frame . ,frame)))))
(let* ((tabs (funcall tab-bar-tabs-function frame))
(current-tab (tab-bar--current-tab-find tabs)))
- (seq-remove (lambda (tab) (eq (car tab) 'current-tab)) tabs)
+ (setq tabs (remq current-tab tabs))
(if ignore-current-tab
;; Use tabs without current-tab.
tabs