]> git.eshelyaron.com Git - emacs.git/commit
Use new SVG icons in tab-bar and tab-line (bug#62562)
authorJuri Linkov <juri@linkov.net>
Sun, 27 Aug 2023 17:27:35 +0000 (20:27 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 27 Aug 2023 17:27:35 +0000 (20:27 +0300)
commit9500e7df861120156abb86d86516cb6129af1f08
tree848268ea318eb52c86c00629382079c9499d3b13
parent332df9a043c19cb9455621ac80b14e3d5c28057a
Use new SVG icons in tab-bar and tab-line (bug#62562)

* lisp/tab-bar.el (tab-bar--load-buttons):
Add "symbols/plus_16.svg" to tab-bar-new.
Add "symbols/cross_16.svg" to tab-bar-close.
Add "symbols/menu_16.svg" to tab-bar-menu-bar.
(tab-bar-tab-name-format-default): Use 'add-face-text-property'.
(tab-bar-history-mode):
Add "symbols/chevron_left_16.svg" to tab-bar-back.
Add "symbols/chevron_right_16.svg" to tab-bar-forward.

* lisp/tab-line.el (tab-line-new): New icon with "symbols/plus_16.svg".
(tab-line-new-button): Use it with nil rear-nonsticky.
(tab-line-close): New icon with "symbols/cross_16.svg".
(tab-line-close-button): Use it with nil rear-nonsticky.
(tab-line-left): New icon with "symbols/chevron_left_16.svg".
(tab-line-left-button): Use it with nil rear-nonsticky.
(tab-line-right): New icon with "symbols/chevron_right_16.svg".
(tab-line-right-button): Use it with nil rear-nonsticky.
(tab-line-tab-name-format-default): Use 'add-face-text-property'.
(tab-line-auto-hscroll): Append the face in 'add-face-text-property'.
lisp/tab-bar.el
lisp/tab-line.el