diff options
| author | Jan Djärv | 2012-02-25 11:04:30 +0100 |
|---|---|---|
| committer | Jan Djärv | 2012-02-25 11:04:30 +0100 |
| commit | 525795c1bd665eabf5b62e9ab6706ea0a6c25c19 (patch) | |
| tree | f4df963354c07d03b4d2ad48dfaa43910e15ac73 /lisp/term | |
| parent | f008086fd23420f0ea9d030b7efd827e6fe551b4 (diff) | |
| download | emacs-525795c1bd665eabf5b62e9ab6706ea0a6c25c19.tar.gz emacs-525795c1bd665eabf5b62e9ab6706ea0a6c25c19.zip | |
Make drop on NS/OSX behave the same as other platforms (Bug 5855 and 10050).
* doc/emacs/macos.texi (Mac / GNUstep Customization): Remove text about
ns-find-file and ns-drag-file (Bug#5855, Bug#10050).
* lisp/term/ns-win.el (global-map): Bind ns-drag-file to
ns-find-file (Bug#5855, Bug#10050).
Diffstat (limited to 'lisp/term')
| -rw-r--r-- | lisp/term/ns-win.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index 2782d63b719..b681ec3440f 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el | |||
| @@ -163,7 +163,7 @@ The properties returned may include `top', `left', `height', and `width'." | |||
| 163 | (define-key global-map [ns-power-off] 'save-buffers-kill-emacs) | 163 | (define-key global-map [ns-power-off] 'save-buffers-kill-emacs) |
| 164 | (define-key global-map [ns-open-file] 'ns-find-file) | 164 | (define-key global-map [ns-open-file] 'ns-find-file) |
| 165 | (define-key global-map [ns-open-temp-file] [ns-open-file]) | 165 | (define-key global-map [ns-open-temp-file] [ns-open-file]) |
| 166 | (define-key global-map [ns-drag-file] 'ns-insert-file) | 166 | (define-key global-map [ns-drag-file] 'ns-find-file) |
| 167 | (define-key global-map [ns-drag-color] 'ns-set-foreground-at-mouse) | 167 | (define-key global-map [ns-drag-color] 'ns-set-foreground-at-mouse) |
| 168 | (define-key global-map [S-ns-drag-color] 'ns-set-background-at-mouse) | 168 | (define-key global-map [S-ns-drag-color] 'ns-set-background-at-mouse) |
| 169 | (define-key global-map [ns-drag-text] 'ns-insert-text) | 169 | (define-key global-map [ns-drag-text] 'ns-insert-text) |