diff options
| -rw-r--r-- | lisp/mouse.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index d6d0c4bb43c..0384a6349df 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -458,6 +458,9 @@ If DIR is positive skip forward; if negative, skip backward." | |||
| 458 | Display cursor at that position for a second. | 458 | Display cursor at that position for a second. |
| 459 | This must be bound to a mouse click." | 459 | This must be bound to a mouse click." |
| 460 | (interactive "e") | 460 | (interactive "e") |
| 461 | (mouse-minibuffer-check click) | ||
| 462 | (select-window (posn-window (event-start click))) | ||
| 463 | ;; We don't use save-excursion because that preserves the mark too. | ||
| 461 | (let ((point-save (point))) | 464 | (let ((point-save (point))) |
| 462 | (unwind-protect | 465 | (unwind-protect |
| 463 | (progn (mouse-set-point click) | 466 | (progn (mouse-set-point click) |