HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1188dd3
)
(w32-drag-n-drop): Select file in window where
author
Andrew Innes
<andrewi@gnu.org>
Sun, 2 May 1999 09:52:17 +0000
(09:52 +0000)
committer
Andrew Innes
<andrewi@gnu.org>
Sun, 2 May 1999 09:52:17 +0000
(09:52 +0000)
it is dropped, rather than current window.
lisp/term/w32-win.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/term/w32-win.el
b/lisp/term/w32-win.el
index
7c4e1c2
..
5f1f6d4
100644
(file)
--- a/
lisp/term/w32-win.el
+++ b/
lisp/term/w32-win.el
@@
-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)