From: Juri Linkov Date: Sun, 12 Sep 2021 18:30:06 +0000 (+0300) Subject: * lisp/tab-bar.el (tab-bar-get-buffer-tab): Use 'remq' instead of 'seq-remove' X-Git-Tag: emacs-28.0.90~1034 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=911043845d8c0a8e67407ac80ded3bf6362bb972;p=emacs.git * lisp/tab-bar.el (tab-bar-get-buffer-tab): Use 'remq' instead of 'seq-remove' --- 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