]> git.eshelyaron.com Git - emacs.git/commit
New user option 'tab-line-tabs-buffer-group-function'
authorJuri Linkov <juri@linkov.net>
Fri, 12 Apr 2024 16:35:55 +0000 (19:35 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 14 Apr 2024 17:09:19 +0000 (19:09 +0200)
commit63996ce0314ca20a23b9781dfdb5f4f558a25f35
treea38ea13a1c59abd5a18abc513811c51310dfeb38
parent7c3a2f852098ec7a691b71c153d0c831156c426d
New user option 'tab-line-tabs-buffer-group-function'

* lisp/tab-line.el (tab-line-tabs-buffer-group-function):
Turn defvar into defcustom with the default value
'tab-line-tabs-buffer-group-by-mode'.
(tab-line-tabs-buffer-group-by-mode): New function with body from
'tab-line-tabs-buffer-group-name'.
(tab-line-tabs-buffer-group-by-project): New function.
(tab-line-tabs-buffer-groups): Use fallback name "No group" instead of "All".

(cherry picked from commit 414f8d02c1a361fa780e55fcf0f260fe00a9a62d)
etc/NEWS
lisp/tab-line.el