From: Stefan Kangas Date: Thu, 23 Sep 2021 11:20:55 +0000 (+0200) Subject: Clarify which-function tooltip text X-Git-Tag: emacs-28.0.90~724 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d817f885789a562fd2c3960e312661838fb134f0;p=emacs.git Clarify which-function tooltip text * lisp/progmodes/which-func.el (which-func-format): Clarify tooltip text. --- 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)