Skip to content

Instantly share code, notes, and snippets.

View ganta's full-sized avatar
🐤

Hideki Igarashi ganta

🐤
View GitHub Profile
@bric3
bric3 / install_jdk5_post_lion.sh
Last active March 16, 2025 21:11
Automate the install of JDK 5 on Lion, Mountain Lion, Mavericks
# _______ _ _ _ _ _
# |__ __| | (_) (_) | | | |
# | | | |__ _ ___ ___ ___ _ __ _ _ __ | |_ _ __ ___ _____ _____ __| |
# | | | '_ \| / __| / __|/ __| '__| | '_ \| __| | '_ ` _ \ / _ \ \ / / _ \/ _` |
# | | | | | | \__ \ \__ \ (__| | | | |_) | |_ | | | | | | (_) \ V / __/ (_| |
# |_| |_| |_|_|___/ |___/\___|_| |_| .__/ \__| |_| |_| |_|\___/ \_/ \___|\__,_|
# | |
# |_|
#
# New home : https://github.com/bric3/osx-jdk5-installer
diff --git a/src/nsterm.m b/src/nsterm.m
index 635f737..4aade4a 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -3920,6 +3920,8 @@ ns_term_shutdown (int sig)
if (mac_store_change_input_method_event())
{
+ if (!emacs_event)
+ return;