]> git.eshelyaron.com Git - emacs.git/commit
mouse-face properties on tab-bar tab captions (bug#76394)
authorshipmints <shipmints@gmail.com>
Sat, 22 Feb 2025 10:13:05 +0000 (05:13 -0500)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Mar 2025 10:20:06 +0000 (11:20 +0100)
commita2ae0e04cbdd8ebd554c2115af102551a2134be5
treed5016855427c1d9a9fb82eb74f393d1cd0edbb6a
parent1fd550928d678c6b2ab50f6855b16107d0d76691
mouse-face properties on tab-bar tab captions (bug#76394)

* etc/NEWS: Announce 'tab-bar' 'mouse-face' support.

* src/xdisp.c (note_tab_bar_highlight): Handle mouse-face property.

* lisp/tab-bar.el
(tab-bar-tab-highlight): New face.
(tab-bar-tab-name-format-mouse-face): New function adds the 'mouse-face'
'tab-bar-tab-highlight' to the tab name.
(tab-bar-tab-name-format-functions): Add
'tab-bar-tab-name-format-mouse-face'.

(cherry picked from commit efd483cf0ecde3b0545a9eb39cc3fa9483fad76c)
lisp/tab-bar.el
src/xdisp.c