From: Eli Zaretskii Date: Sun, 17 Jun 2001 11:25:12 +0000 (+0000) Subject: (tex-validate-buffer): Add help-echo to mouse-highlighted text. X-Git-Tag: emacs-pretest-21.0.104~237 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a865de85dabe98dce5e45396f0dd0612cff9d3c9;p=emacs.git (tex-validate-buffer): Add help-echo to mouse-highlighted text. --- diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index ef5004fffd5..e74f64ef23b 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -999,8 +999,10 @@ on the line for the invalidity you want to see." (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))))