changeset 38073:54047d1b6974

(comint-send-input): Add help-echo to mouse-highlighted text.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 17 Jun 2001 11:17:17 +0000
parents 4dc11485950d
children 7ca7def9af01
files lisp/comint.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Sun Jun 17 11:16:18 2001 +0000
+++ b/lisp/comint.el	Sun Jun 17 11:17:17 2001 +0000
@@ -1442,6 +1442,9 @@
 		(when comint-highlight-input
 		  (overlay-put over 'face 'comint-highlight-input)
 		  (overlay-put over 'mouse-face 'highlight)
+		  (overlay-put over
+			       'help-echo
+			       "mouse-2: insert previous clicked-on input")
 		  (overlay-put over 'evaporate t))))
 	    (unless comint-use-prompt-regexp-instead-of-fields
 	      ;; Make an overlay for the terminating newline