aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2024-04-12 19:35:55 +0300
committerJuri Linkov2024-04-12 19:35:55 +0300
commit414f8d02c1a361fa780e55fcf0f260fe00a9a62d (patch)
treef1924fae2e519e3d40d4243107c7bbc4e81901ac /etc
parent2fc7e21f5e75ea6b00d6f7344335f44f5663d955 (diff)
downloademacs-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ed5db3a01a3..da809096d94 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -364,6 +364,11 @@ By default it contains a keybinding 'C-TAB' to switch tabs,
364but only when 'C-TAB' is not bound globally. You can unbind it 364but only when 'C-TAB' is not bound globally. You can unbind it
365if it conflicts with 'C-TAB' in other modes. 365if it conflicts with 'C-TAB' in other modes.
366 366
367---
368*** New user option 'tab-line-tabs-buffer-group-function'.
369It provides two choices to group tab buffers by major mode
370and by project name.
371
367+++ 372+++
368** New optional argument for modifying directory-local variables. 373** New optional argument for modifying directory-local variables.
369The commands 'add-dir-local-variable', 'delete-dir-local-variable' and 374The commands 'add-dir-local-variable', 'delete-dir-local-variable' and