aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-06-17 11:22:35 +0000
committerEli Zaretskii2001-06-17 11:22:35 +0000
commit06d74900424e431f480045aafbf13573cea7020e (patch)
tree03cdbff2ddb85f3620298b85443ecfac029441f6
parent3c0a21c03dd342b2087720d0ab8a000da32fcc22 (diff)
downloademacs-06d74900424e431f480045aafbf13573cea7020e.tar.gz
emacs-06d74900424e431f480045aafbf13573cea7020e.zip
(sh-mark-line): Add help-echo to mouse-highlighted text.
-rw-r--r--lisp/progmodes/sh-script.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 80d49ea5e43..6755fe0e8de 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -2644,7 +2644,10 @@ so that `occur-next' and `occur-prev' will work."
2644 (setq occur-point (point))) 2644 (setq occur-point (point)))
2645 (insert message) 2645 (insert message)
2646 (if point 2646 (if point
2647 (put-text-property start (point) 'mouse-face 'highlight)) 2647 (add-text-properties
2648 start (point)
2649 '(mouse-face highlight
2650 help-echo "mouse-2: go to the line where I learned this")))
2648 (insert "\n") 2651 (insert "\n")
2649 (if point 2652 (if point
2650 (progn 2653 (progn