diff options
| author | YAMAMOTO Mitsuharu | 2006-08-27 07:08:07 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2006-08-27 07:08:07 +0000 |
| commit | 4442ec0d0dcc53489b071872800095a299559fba (patch) | |
| tree | 3221343329dbd9f579266a2e04508205d629a658 /lisp | |
| parent | 426348643ad31779a4a50d86e702faf8e479b09d (diff) | |
| download | emacs-4442ec0d0dcc53489b071872800095a299559fba.tar.gz emacs-4442ec0d0dcc53489b071872800095a299559fba.zip | |
(mac-apple-event-map): Rename hicommand to hi-command.
(mac-dnd-drop-data): Apply 2006-08-22 change for x-dnd-drop-data.
(special-event-map): Apply 2006-08-16 change for x-win.el.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/term/mac-win.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index f1f66b1d4df..538aa09b2c5 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el | |||
| @@ -1539,7 +1539,7 @@ in `selection-converter-alist', which see." | |||
| 1539 | (put 'autosave-now 'mac-apple-event-id "asav") ; kAEAutosaveNow | 1539 | (put 'autosave-now 'mac-apple-event-id "asav") ; kAEAutosaveNow |
| 1540 | ;; kAEInternetEventClass | 1540 | ;; kAEInternetEventClass |
| 1541 | (put 'get-url 'mac-apple-event-id "GURL") ; kAEGetURL | 1541 | (put 'get-url 'mac-apple-event-id "GURL") ; kAEGetURL |
| 1542 | ;; Converted HICommand events | 1542 | ;; Converted HI command events |
| 1543 | (put 'about 'mac-apple-event-id "abou") ; kHICommandAbout | 1543 | (put 'about 'mac-apple-event-id "abou") ; kHICommandAbout |
| 1544 | 1544 | ||
| 1545 | (defmacro mac-event-spec (event) | 1545 | (defmacro mac-event-spec (event) |
| @@ -1739,7 +1739,7 @@ Currently the `mailto' scheme is supported." | |||
| 1739 | 1739 | ||
| 1740 | (define-key mac-apple-event-map [internet-event get-url] 'mac-ae-get-url) | 1740 | (define-key mac-apple-event-map [internet-event get-url] 'mac-ae-get-url) |
| 1741 | 1741 | ||
| 1742 | (define-key mac-apple-event-map [hicommand about] 'display-splash-screen) | 1742 | (define-key mac-apple-event-map [hi-command about] 'display-splash-screen) |
| 1743 | 1743 | ||
| 1744 | ;;; Converted Carbon Events | 1744 | ;;; Converted Carbon Events |
| 1745 | (defun mac-handle-toolbar-switch-mode (event) | 1745 | (defun mac-handle-toolbar-switch-mode (event) |
| @@ -2208,7 +2208,8 @@ See also `mac-dnd-known-types'." | |||
| 2208 | ;; If dropping in an ordinary window which we could use, | 2208 | ;; If dropping in an ordinary window which we could use, |
| 2209 | ;; let dnd-open-file-other-window specify what to do. | 2209 | ;; let dnd-open-file-other-window specify what to do. |
| 2210 | (progn | 2210 | (progn |
| 2211 | (goto-char (posn-point (event-start event))) | 2211 | (when (not mouse-yank-at-point) |
| 2212 | (goto-char (posn-point (event-start event)))) | ||
| 2212 | (funcall handler window action data)) | 2213 | (funcall handler window action data)) |
| 2213 | ;; If we can't display the file here, | 2214 | ;; If we can't display the file here, |
| 2214 | ;; make a new window for it. | 2215 | ;; make a new window for it. |
| @@ -2561,8 +2562,8 @@ ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman") | |||
| 2561 | 2562 | ||
| 2562 | ;; Initiate drag and drop | 2563 | ;; Initiate drag and drop |
| 2563 | 2564 | ||
| 2564 | (global-set-key [drag-n-drop] 'mac-dnd-handle-drag-n-drop-event) | 2565 | (define-key special-event-map [drag-n-drop] 'mac-dnd-handle-drag-n-drop-event) |
| 2565 | (global-set-key [M-drag-n-drop] 'mac-dnd-handle-drag-n-drop-event) | 2566 | (define-key special-event-map [M-drag-n-drop] 'mac-dnd-handle-drag-n-drop-event) |
| 2566 | 2567 | ||
| 2567 | 2568 | ||
| 2568 | ;;;; Non-toolkit Scroll bars | 2569 | ;;;; Non-toolkit Scroll bars |