diff lisp/comint.el @ 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 689e6d3dbdc2
children 153f1b1f2efd
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