summaryrefslogtreecommitdiff
path: root/lisp/tab-line.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/tab-line.el')
-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."
(apply 'propertize
(concat (propertize name
'keymap tab-line-tab-map
+ 'help-echo (if selected-p "Current tab"
+ "Click to select tab")
;; Don't turn mouse-1 into mouse-2 (bug#49247)
'follow-link 'ignore)
(or (and (or buffer-p (assq 'buffer tab) (assq 'close tab))