summaryrefslogtreecommitdiff
path: root/lisp/woman.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-06-19 10:00:43 +0000
committerEli Zaretskii <eliz@gnu.org>2001-06-19 10:00:43 +0000
commita5eab4a9af5731e5d4e178397549f9694c7db119 (patch)
tree1daa6a9e312508f77a82bd63e4ef4ceeb634d7b7 /lisp/woman.el
parent0c00c5acabadda6eefce8c0731562983241f55ae (diff)
downloademacs-a5eab4a9af5731e5d4e178397549f9694c7db119.tar.gz
(WoMan-highlight-references): Add help-echo to mouse-highlighted text.
Diffstat (limited to 'lisp/woman.el')
-rw-r--r--lisp/woman.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/woman.el b/lisp/woman.el
index 1a3d7e8b75c..21cd901f404 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -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"))
))))