changeset 8534:a446d13c46ea

(mouse-set-mark): Select the window before saving point.
author Richard M. Stallman <rms@gnu.org>
date Sat, 13 Aug 1994 20:29:54 +0000
parents a0af63b5bc45
children 8819276a0458
files lisp/mouse.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mouse.el	Sat Aug 13 17:36:00 1994 +0000
+++ b/lisp/mouse.el	Sat Aug 13 20:29:54 1994 +0000
@@ -458,6 +458,9 @@
 Display cursor at that position for a second.
 This must be bound to a mouse click."
   (interactive "e")
+  (mouse-minibuffer-check click)
+  (select-window (posn-window (event-start click)))
+  ;; We don't use save-excursion because that preserves the mark too.
   (let ((point-save (point)))
     (unwind-protect
 	(progn (mouse-set-point click)