(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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue