mouse-yank-at-point is non-nil.
+2006-08-22 Jorgen Schaefer <forcer@forcix.cx> (tiny change)
+
+ * x-dnd.el (x-dnd-drop-data): Don't call goto-char if
+ mouse-yank-at-point is non-nil.
+
2006-08-22 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-ui.el (gdb-frame-memory-buffer): Make frame
;; If dropping in an ordinary window which we could use,
;; let dnd-open-file-other-window specify what to do.
(progn
- (goto-char (posn-point (event-start event)))
+ (when (not mouse-yank-at-point)
+ (goto-char (posn-point (event-start event))))
(funcall handler window action data))
;; If we can't display the file here,
;; make a new window for it.