summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/term/mac-win.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index 064f9bd12bf..d6c6f9b8489 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -1518,6 +1518,8 @@ in `selection-converter-alist', which see."
(url-mailto parsed-url)
(error "Unsupported URL scheme: %s" (url-type parsed-url)))))
+(setq mac-apple-event-map (make-sparse-keymap))
+
;; Received when Emacs is launched without associated documents.
;; Accept it as an Apple event, but no Emacs event is generated so as
;; not to erase the splash screen.