]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/tab-line.el (tab-line-tab-name-format-default): Add help-echo.
authorJuri Linkov <juri@linkov.net>
Thu, 30 Dec 2021 08:08:37 +0000 (10:08 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 30 Dec 2021 08:08:37 +0000 (10:08 +0200)
(bug#52889)

lisp/tab-line.el

index af0647acf7ccc7ac100dd2de80a1fb334679df56..003bfe1fbe3c32600cdef7fc2f04018c6ec64626 100644 (file)
@@ -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))