mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-02 13:41:30 -08:00
* lisp/tab-bar.el: Support mouse clicks for multi-item 'global-mode-string'.
(tab-bar-format-global): Split elements of 'global-mode-string' to separate items of the tab bar, so events for each item are handled separately (bug#70086).
This commit is contained in:
parent
5522cc7879
commit
9ecd65a660
1 changed files with 3 additions and 1 deletions
|
|
@ -1119,7 +1119,9 @@ When `tab-bar-format-global' is added to `tab-bar-format'
|
|||
then modes that display information on the mode line
|
||||
using `global-mode-string' will display the same text
|
||||
on the tab bar instead."
|
||||
`((global menu-item ,(format-mode-line global-mode-string) ignore)))
|
||||
(mapcar (lambda (string)
|
||||
`(global menu-item ,(format-mode-line string) ignore))
|
||||
global-mode-string))
|
||||
|
||||
(defun tab-bar-format-list (format-list)
|
||||
(let ((i 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue