From 412f3f1859b20e13d0d16f55852975c7ed74fa53 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sat, 27 May 2006 08:46:03 +0000 Subject: [PATCH] (mac_handle_apple_event): Return errAEEventNotHandled if key binding is not found. --- src/ChangeLog | 7 ++++++- src/macselect.c | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 8ba00b65dd..5a0b762164 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2006-05-27 YAMAMOTO Mitsuharu + + * macselect.c (mac_handle_apple_event): Return + errAEEventNotHandled if key binding is not found. + 2006-05-26 Eli Zaretskii * emacs.c (main) [PROFILING]: Enable also for __MINGW32__. @@ -86,7 +91,7 @@ (mac_handle_apple_event_1): New function. (mac_handle_apple_event): Use it. Don't process previously suspended events. - (cleanup_suspended_apple_events, get_suspension_id)n + (cleanup_suspended_apple_events, get_suspension_id) (cleanup_all_suspended_apple_events): New functions. (init_apple_event_handler): Call cleanup_all_suspended_apple_events at exit. diff --git a/src/macselect.c b/src/macselect.c index 40a3db9ca0..3afea1e981 100644 --- a/src/macselect.c +++ b/src/macselect.c @@ -1159,6 +1159,8 @@ mac_handle_apple_event (apple_event, reply, refcon) err = mac_handle_apple_event_1 (class_key, id_key, apple_event, reply); } + else + err = errAEEventNotHandled; } if (err == noErr) return noErr; -- 2.39.2