emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d817f88: Clarify which-function tooltip text


From: Stefan Kangas
Subject: master d817f88: Clarify which-function tooltip text
Date: Thu, 23 Sep 2021 07:24:42 -0400 (EDT)

branch: master
commit d817f885789a562fd2c3960e312661838fb134f0
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Clarify which-function tooltip text
    
    * lisp/progmodes/which-func.el (which-func-format): Clarify tooltip
    text.
---
 lisp/progmodes/which-func.el | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index eb170ba..8946e2c 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -141,12 +141,14 @@ Zero means compute the Imenu menu regardless of size."
                 local-map ,which-func-keymap
                 face which-func
                 mouse-face mode-line-highlight
-                help-echo "mouse-1: go to beginning\n\
-mouse-2: toggle rest visibility\n\
-mouse-3: go to end")
+                 help-echo ,(concat
+                             "Current function\n"
+                             "mouse-1: go to beginning\n"
+                             "mouse-2: toggle rest visibility\n"
+                             "mouse-3: go to end"))
     "]")
   "Format for displaying the function in the mode line."
-  :version "24.2"                  ; added mouse-face; 24point2 is correct
+  :version "28.1"
   :type 'sexp)
 ;;;###autoload (put 'which-func-format 'risky-local-variable t)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]