diff options
| author | Juri Linkov | 2024-04-12 19:35:55 +0300 |
|---|---|---|
| committer | Juri Linkov | 2024-04-12 19:35:55 +0300 |
| commit | 414f8d02c1a361fa780e55fcf0f260fe00a9a62d (patch) | |
| tree | f1924fae2e519e3d40d4243107c7bbc4e81901ac /etc | |
| parent | 2fc7e21f5e75ea6b00d6f7344335f44f5663d955 (diff) | |
| download | emacs-414f8d02c1a361fa780e55fcf0f260fe00a9a62d.tar.gz emacs-414f8d02c1a361fa780e55fcf0f260fe00a9a62d.zip | |
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".
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -364,6 +364,11 @@ By default it contains a keybinding 'C-TAB' to switch tabs, | |||
| 364 | but only when 'C-TAB' is not bound globally. You can unbind it | 364 | but only when 'C-TAB' is not bound globally. You can unbind it |
| 365 | if it conflicts with 'C-TAB' in other modes. | 365 | if it conflicts with 'C-TAB' in other modes. |
| 366 | 366 | ||
| 367 | --- | ||
| 368 | *** New user option 'tab-line-tabs-buffer-group-function'. | ||
| 369 | It provides two choices to group tab buffers by major mode | ||
| 370 | and by project name. | ||
| 371 | |||
| 367 | +++ | 372 | +++ |
| 368 | ** New optional argument for modifying directory-local variables. | 373 | ** New optional argument for modifying directory-local variables. |
| 369 | The commands 'add-dir-local-variable', 'delete-dir-local-variable' and | 374 | The commands 'add-dir-local-variable', 'delete-dir-local-variable' and |