changeset 109708:b1689e2cce22

which-func.el (which-func-format): Split help-echo text into lines.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 03 Aug 2010 18:39:37 +0200
parents d6a9e2c31587
children 0a7e386737b1 ad23e0fe40f4
files lisp/ChangeLog lisp/progmodes/which-func.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Aug 03 15:04:20 2010 +0200
+++ b/lisp/ChangeLog	Tue Aug 03 18:39:37 2010 +0200
@@ -1,5 +1,8 @@
 2010-08-03  Juanma Barranquero  <lekktu@gmail.com>
 
+	* progmodes/which-func.el (which-func-format): Split help-echo text
+	into lines, like other mode-line tooltips.
+
 	* server.el (server-start): When using TCP sockets, force IPv4
 	and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
 
--- a/lisp/progmodes/which-func.el	Tue Aug 03 15:04:20 2010 +0200
+++ b/lisp/progmodes/which-func.el	Tue Aug 03 18:39:37 2010 +0200
@@ -145,7 +145,9 @@
 		 local-map ,which-func-keymap
 		 face which-func
 		 ;;mouse-face highlight	; currently not evaluated :-(
-		 help-echo "mouse-1: go to beginning, mouse-2: toggle rest visibility, mouse-3: go to end")
+		 help-echo "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."
   :group 'which-func