diff options
author | Juri Linkov <juri@linkov.net> | 2020-01-21 01:03:37 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2020-01-21 01:03:37 +0200 |
commit | 3ba0db41e3fcfdc47368e9e6fd7cbe45230ba88b (patch) | |
tree | f6deb0eb40f22956805ffe1335d037220eb57a12 /lisp/emacs-lisp | |
parent | 7dd065fc7bd561b09f79142974b8ada052dfa7d1 (diff) | |
download | emacs-3ba0db41e3fcfdc47368e9e6fd7cbe45230ba88b.tar.gz emacs-3ba0db41e3fcfdc47368e9e6fd7cbe45230ba88b.tar.bz2 emacs-3ba0db41e3fcfdc47368e9e6fd7cbe45230ba88b.zip |
Allow optional truncation of tab names in tab-bar and tab-line (bug#38693)
* lisp/tab-line.el (tab-line-tab-name-truncated-max): New defcustom.
(tab-line-tab-name-truncated-buffer): Use tab-line-tab-name-truncated-max
consistently with similar options in tab-bar.el.
(tab-line-tabs-limit): Remove variable.
(tab-line-tabs-window-buffers): Remove use of tab-line-tabs-limit
that was an experimental feature before horizontal scrolling was implemented.
(tab-line-close-tab-function): Rename from tab-line-close-tab-action
and allow a customizaed function as option.
(tab-line-close-tab): Call function if tab-line-close-tab-function
is customized to a function.
* lisp/tab-bar.el (tab-bar-tab-name-function): Add option
tab-bar-tab-name-truncated.
(tab-bar-tab-name-truncated-max): New defcustom.
(tab-bar-tab-name-truncated-ellipsis): New variable.
(tab-bar-tab-name-truncated): New function.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions