Function: tab-line-tabs-mode-buffers
tab-line-tabs-mode-buffers is a byte-compiled function defined in
tab-line.el.gz.
Signature
(tab-line-tabs-mode-buffers)
Documentation
Return a list of buffers with the same major mode as the current buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/tab-line.el.gz
(defun tab-line-tabs-mode-buffers ()
"Return a list of buffers with the same major mode as the current buffer."
(let ((mode major-mode))
(seq-sort-by #'buffer-name #'string<
(seq-filter (lambda (b) (with-current-buffer b
(derived-mode-p mode)))
(funcall tab-line-tabs-buffer-list-function)))))