aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2006-05-01 01:09:40 +0000
committerYAMAMOTO Mitsuharu2006-05-01 01:09:40 +0000
commitfc36394b4b5456392ca891d63842bb59d442656d (patch)
treedbd14330f88d19954b11135bfb26c47fbaa209c2
parentd6802fc19c85c31f9de44064d959e7c041c68e1d (diff)
downloademacs-fc36394b4b5456392ca891d63842bb59d442656d.tar.gz
emacs-fc36394b4b5456392ca891d63842bb59d442656d.zip
(mac-ae-open-documents, mac-drag-n-drop): Use
select-frame-set-input-focus instead of raise-frame. (global-map): Bind M-drag-n-drop to mac-drag-n-drop.
-rw-r--r--lisp/term/mac-win.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index 68c95d4b319..188ecdf8f27 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -1480,7 +1480,7 @@ in `selection-converter-alist', which see."
1480 (re-search-forward 1480 (re-search-forward
1481 (mapconcat 'regexp-quote (split-string search-text) "\\|") 1481 (mapconcat 'regexp-quote (split-string search-text) "\\|")
1482 nil t))))) 1482 nil t)))))
1483 (raise-frame)) 1483 (select-frame-set-input-focus (selected-frame)))
1484 1484
1485(defun mac-ae-text (ae) 1485(defun mac-ae-text (ae)
1486 (or (cdr (mac-ae-parameter ae nil "TEXT")) 1486 (or (cdr (mac-ae-parameter ae nil "TEXT"))
@@ -2039,9 +2039,10 @@ Switch to a buffer editing the last file dropped."
2039 (dolist (file-name (nth 2 event)) 2039 (dolist (file-name (nth 2 event))
2040 (dnd-handle-one-url window 'private 2040 (dnd-handle-one-url window 'private
2041 (concat "file:" file-name)))) 2041 (concat "file:" file-name))))
2042 (raise-frame)) 2042 (select-frame-set-input-focus (selected-frame)))
2043 2043
2044(global-set-key [drag-n-drop] 'mac-drag-n-drop) 2044(global-set-key [drag-n-drop] 'mac-drag-n-drop)
2045(global-set-key [M-drag-n-drop] 'mac-drag-n-drop)
2045 2046
2046;;;; Non-toolkit Scroll bars 2047;;;; Non-toolkit Scroll bars
2047 2048