From 911043845d8c0a8e67407ac80ded3bf6362bb972 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Sun, 12 Sep 2021 21:30:06 +0300 Subject: [PATCH] * lisp/tab-bar.el (tab-bar-get-buffer-tab): Use 'remq' instead of 'seq-remove' --- lisp/tab-bar.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5