aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/tab-line.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/tab-line.el b/lisp/tab-line.el
index 2952f3cc116..7caae8bc2c1 100644
--- a/lisp/tab-line.el
+++ b/lisp/tab-line.el
@@ -573,8 +573,8 @@ generate the group name."
573 #'identity 573 #'identity
574 "Filter which buffers should be displayed in the tab line." 574 "Filter which buffers should be displayed in the tab line."
575 :type '(choice function 575 :type '(choice function
576 (const :tag "No filter the buffers" identity) 576 (const :tag "Show all buffers" identity)
577 (const :tag "Show non-excluded buffers only" tab-line-tabs-non-excluded)) 577 (const :tag "Omit excluded buffers" tab-line-tabs-non-excluded))
578 :group 'tab-line 578 :group 'tab-line
579 :version "31.1") 579 :version "31.1")
580 580
@@ -582,7 +582,7 @@ generate the group name."
582(defvar tab-line-exclude-modes) 582(defvar tab-line-exclude-modes)
583 583
584(defun tab-line-tabs-non-excluded (buffers) 584(defun tab-line-tabs-non-excluded (buffers)
585 "Filter BUFFERS and return non-excluded buffers list. 585 "Filter BUFFERS to remove excluded buffers from the list.
586Intended to be used in `tab-line-tabs-window-buffers-filter-function'." 586Intended to be used in `tab-line-tabs-window-buffers-filter-function'."
587 (seq-remove 587 (seq-remove
588 (lambda (b) 588 (lambda (b)