changeset 79814:cae03603299a

(comint-insert-input): Set point first.
author Nick Roberts <nickrob@snap.net.nz>
date Thu, 10 Jan 2008 11:28:33 +0000
parents 5f3ae36f1159
children d89712719d10
files lisp/comint.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Thu Jan 10 11:26:42 2008 +0000
+++ b/lisp/comint.el	Thu Jan 10 11:28:33 2008 +0000
@@ -820,6 +820,7 @@
 If there is no previous input at point, run the command specified
 by the global keymap (usually `mouse-yank-at-point')."
   (interactive "e")
+  (mouse-set-point event)
   (let ((pos (posn-point (event-end event)))
 	field input)
     (with-selected-window (posn-window (event-end event))