summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2020-01-21 01:03:37 +0200
committerJuri Linkov <juri@linkov.net>2020-01-21 01:03:37 +0200
commit3ba0db41e3fcfdc47368e9e6fd7cbe45230ba88b (patch)
treef6deb0eb40f22956805ffe1335d037220eb57a12 /src/coding.c
parent7dd065fc7bd561b09f79142974b8ada052dfa7d1 (diff)
downloademacs-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 'src/coding.c')
0 files changed, 0 insertions, 0 deletions