aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2021-12-30 10:08:37 +0200
committerJuri Linkov2021-12-30 10:08:37 +0200
commitd1c7ce68ba91129124b4869b15df97c63fa3d4cb (patch)
tree185bb423c01c25006ac048e73fe336307b07cbdc
parent37ad776b9e6c90b2c289dd2413868066608594a7 (diff)
downloademacs-d1c7ce68ba91129124b4869b15df97c63fa3d4cb.tar.gz
emacs-d1c7ce68ba91129124b4869b15df97c63fa3d4cb.zip
* lisp/tab-line.el (tab-line-tab-name-format-default): Add help-echo.
(bug#52889)
-rw-r--r--lisp/tab-line.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/tab-line.el b/lisp/tab-line.el
index af0647acf7c..003bfe1fbe3 100644
--- a/lisp/tab-line.el
+++ b/lisp/tab-line.el
@@ -495,6 +495,8 @@ which the tab will represent."
495 (apply 'propertize 495 (apply 'propertize
496 (concat (propertize name 496 (concat (propertize name
497 'keymap tab-line-tab-map 497 'keymap tab-line-tab-map
498 'help-echo (if selected-p "Current tab"
499 "Click to select tab")
498 ;; Don't turn mouse-1 into mouse-2 (bug#49247) 500 ;; Don't turn mouse-1 into mouse-2 (bug#49247)
499 'follow-link 'ignore) 501 'follow-link 'ignore)
500 (or (and (or buffer-p (assq 'buffer tab) (assq 'close tab)) 502 (or (and (or buffer-p (assq 'buffer tab) (assq 'close tab))