From d817f885789a562fd2c3960e312661838fb134f0 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 23 Sep 2021 13:20:55 +0200 Subject: [PATCH] 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 eb170baa5d8..8946e2c3f42 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) -- 2.39.5