changeset 38083:745b05b3e5ed

(tex-validate-buffer): Add help-echo to mouse-highlighted text.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 17 Jun 2001 11:25:12 +0000
parents b1c18f0dd970
children 4f75256c6aae
files lisp/textmodes/tex-mode.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el	Sun Jun 17 11:24:36 2001 +0000
+++ b/lisp/textmodes/tex-mode.el	Sun Jun 17 11:25:12 2001 +0000
@@ -999,8 +999,10 @@
 		      (forward-char (- start end))
 		      (setq text-beg (point-marker))
 		      (insert (format "%3d: " linenum))
-		      (put-text-property text-beg (- text-end 1)
-					 'mouse-face 'highlight)
+		      (add-text-properties
+		       text-beg (- text-end 1)
+		       '(mouse-face highlight
+			 help-echo "mouse-2: go to this invalidity"))
 		      (put-text-property text-beg (- text-end 1)
 					 'occur tem)))))
 	    (goto-char prev-end))))