; Fix last fix of 'mouse-drag-and-drop-region'
* lisp/mouse.el (mouse-drag-and-drop-region): Use 'car-safe' instead of 'car' to ignore 'select-window' events. Thanks to Stefan Monnier for spotting this.
This commit is contained in:
parent
40d41dd497
commit
796c7f7a94
1 changed files with 1 additions and 1 deletions
|
@ -2382,7 +2382,7 @@ is copied instead of being cut."
|
|||
(setq event (read-event))
|
||||
(or (mouse-movement-p event)
|
||||
;; Handle `mouse-autoselect-window'.
|
||||
(eq (car event) 'select-window)))
|
||||
(eq (car-safe event) 'select-window)))
|
||||
(unless value-selection ; initialization
|
||||
(delete-overlay mouse-secondary-overlay)
|
||||
(setq value-selection (buffer-substring start end))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue