Mercurial > emacs
diff lisp/mouse.el @ 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 | 7802e26b3bfd |
children | 77933f36ddc2 |
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)