Mercurial > emacs
changeset 38112:a188ef02f4da
(WoMan-highlight-references): Add help-echo to mouse-highlighted text.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 19 Jun 2001 09:59:37 +0000 |
parents | 737e1a913c78 |
children | bb78909e908f |
files | lisp/woman.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/woman.el Mon Jun 18 20:03:33 2001 +0000 +++ b/lisp/woman.el Tue Jun 19 09:59:37 2001 +0000 @@ -1945,8 +1945,9 @@ ;; 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")) ))))