(WoMan-highlight-references): Add help-echo to mouse-highlighted text.

This commit is contained in:
Eli Zaretskii 2001-06-19 10:00:43 +00:00
parent 0c00c5acab
commit a5eab4a9af
2 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,9 @@
2001-06-12 John Wiegley <johnw@gnu.org>
2001-06-19 Eli Zaretskii <eliz@is.elta.co.il>
* woman.el (WoMan-highlight-references): Add help-echo to
mouse-highlighted text.
2001-06-18 John Wiegley <johnw@gnu.org>
* eshell/esh-mode.el: Disabled a test that often yields false
failures.

View file

@ -1945,8 +1945,9 @@ Otherwise use Man and record start of formatting time."
;; Highlight reference when mouse is over it.
;; (NB: WoMan does not hyphenate!)
;; [See (elisp)Clickable Text]
(put-text-property (match-beginning 1) (match-end 1)
'mouse-face 'highlight)
(add-text-properties (match-beginning 1) (match-end 1)
'(mouse-face highlight
help-echo "mouse-2: display this man page"))
))))