mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-08 15:35:02 +00:00
(w32-drag-n-drop): Select file in window where
it is dropped, rather than current window.
This commit is contained in:
parent
1188dd3759
commit
c8316112bb
@ -155,7 +155,9 @@
|
||||
"Edit the files listed in the drag-n-drop event.
|
||||
Switch to a buffer editing the last file dropped."
|
||||
(interactive "e")
|
||||
(mapcar 'find-file (car (cdr (cdr event))))
|
||||
(save-excursion
|
||||
(set-frame-selected-window nil (posn-window (event-start event)))
|
||||
(mapcar 'find-file (car (cdr (cdr event)))))
|
||||
(raise-frame))
|
||||
|
||||
(defun w32-drag-n-drop-other-frame (event)
|
||||
|
Loading…
Reference in New Issue
Block a user