diff options
| author | Jan Djärv | 2006-08-22 06:14:45 +0000 |
|---|---|---|
| committer | Jan Djärv | 2006-08-22 06:14:45 +0000 |
| commit | 1867217a61f67cb32ea9e1808daa313b9fad21df (patch) | |
| tree | 56cf5c7be00bf576da2709fc3b555f8af473fcf6 | |
| parent | 8ec94c16aefbc14e239c52ca594d9a0da31f2285 (diff) | |
| download | emacs-1867217a61f67cb32ea9e1808daa313b9fad21df.tar.gz emacs-1867217a61f67cb32ea9e1808daa313b9fad21df.zip | |
* x-dnd.el (x-dnd-drop-data): Don't call goto-char if
mouse-yank-at-point is non-nil.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/x-dnd.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 22137ebccf2..b4407a951a3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-08-22 Jorgen Schaefer <forcer@forcix.cx> (tiny change) | ||
| 2 | |||
| 3 | * x-dnd.el (x-dnd-drop-data): Don't call goto-char if | ||
| 4 | mouse-yank-at-point is non-nil. | ||
| 5 | |||
| 1 | 2006-08-22 Nick Roberts <nickrob@snap.net.nz> | 6 | 2006-08-22 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 7 | ||
| 3 | * progmodes/gdb-ui.el (gdb-frame-memory-buffer): Make frame | 8 | * progmodes/gdb-ui.el (gdb-frame-memory-buffer): Make frame |
diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el index 81fe9a8e868..c229b0868e4 100644 --- a/lisp/x-dnd.el +++ b/lisp/x-dnd.el | |||
| @@ -325,7 +325,8 @@ nil if not." | |||
| 325 | ;; If dropping in an ordinary window which we could use, | 325 | ;; If dropping in an ordinary window which we could use, |
| 326 | ;; let dnd-open-file-other-window specify what to do. | 326 | ;; let dnd-open-file-other-window specify what to do. |
| 327 | (progn | 327 | (progn |
| 328 | (goto-char (posn-point (event-start event))) | 328 | (when (not mouse-yank-at-point) |
| 329 | (goto-char (posn-point (event-start event)))) | ||
| 329 | (funcall handler window action data)) | 330 | (funcall handler window action data)) |
| 330 | ;; If we can't display the file here, | 331 | ;; If we can't display the file here, |
| 331 | ;; make a new window for it. | 332 | ;; make a new window for it. |