aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-06-19 10:00:43 +0000
committerEli Zaretskii2001-06-19 10:00:43 +0000
commita5eab4a9af5731e5d4e178397549f9694c7db119 (patch)
tree1daa6a9e312508f77a82bd63e4ef4ceeb634d7b7
parent0c00c5acabadda6eefce8c0731562983241f55ae (diff)
downloademacs-a5eab4a9af5731e5d4e178397549f9694c7db119.tar.gz
emacs-a5eab4a9af5731e5d4e178397549f9694c7db119.zip
(WoMan-highlight-references): Add help-echo to mouse-highlighted text.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/woman.el5
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cc439515e54..7a322e4dfe2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,4 +1,9 @@
12001-06-12 John Wiegley <johnw@gnu.org> 12001-06-19 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * woman.el (WoMan-highlight-references): Add help-echo to
4 mouse-highlighted text.
5
62001-06-18 John Wiegley <johnw@gnu.org>
2 7
3 * eshell/esh-mode.el: Disabled a test that often yields false 8 * eshell/esh-mode.el: Disabled a test that often yields false
4 failures. 9 failures.
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."
1945 ;; Highlight reference when mouse is over it. 1945 ;; Highlight reference when mouse is over it.
1946 ;; (NB: WoMan does not hyphenate!) 1946 ;; (NB: WoMan does not hyphenate!)
1947 ;; [See (elisp)Clickable Text] 1947 ;; [See (elisp)Clickable Text]
1948 (put-text-property (match-beginning 1) (match-end 1) 1948 (add-text-properties (match-beginning 1) (match-end 1)
1949 'mouse-face 'highlight) 1949 '(mouse-face highlight
1950 help-echo "mouse-2: display this man page"))
1950 )))) 1951 ))))
1951 1952
1952 1953