[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some ideas to improve Tab Bar
From: |
Juri Linkov |
Subject: |
Re: Some ideas to improve Tab Bar |
Date: |
Fri, 27 Nov 2020 10:22:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> The idea of this patch is to add a new option called
> `tab-bar-history-buttons-show' to control the visibility of
> `tab-bar-history-mode' back and forward buttons.
Thanks, both patches look good.
> The idea of this patch is to add a new option called
> `tab-bar-tab-name-format-function' where a custom function can be
> specified to format the string value of `tab-name'.
>
> +(defcustom tab-bar-tab-name-format-function nil
...
> + :type 'function
...
> + ,(propertize (concat (funcall (or
> tab-bar-tab-name-format-function 'identity)
Since you use 'funcall' anyway, and defcustom's :type is 'function',
you can just set 'identity' as the default value:
(defcustom tab-bar-tab-name-format-function 'identity
and
,(propertize (concat (funcall tab-bar-tab-name-format-function