mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-14 16:50:58 +00:00
(mouse-drag-region): Bind mouse-autoselect-window.
This commit is contained in:
parent
e967cd114c
commit
f57d50e70d
@ -754,7 +754,8 @@ remains active. Otherwise, it remains until the next input event.
|
||||
|
||||
If the click is in the echo area, display the `*Messages*' buffer."
|
||||
(interactive "e")
|
||||
(let ((w (posn-window (event-start start-event))))
|
||||
(let ((w (posn-window (event-start start-event)))
|
||||
(mouse-autoselect-window nil))
|
||||
(if (not (or (not (window-minibuffer-p w))
|
||||
(minibuffer-window-active-p w)))
|
||||
(save-excursion
|
||||
|
Loading…
Reference in New Issue
Block a user