Created
January 29, 2012 08:27
-
-
Save henry0312/1697875 to your computer and use it in GitHub Desktop.
FIx typester's fix-shiftmodifier-with-ime.patch for emacs-inline.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/nsterm.m b/src/nsterm.m | |
index 211b029..5a650b6 100644 | |
--- a/src/nsterm.m | |
+++ b/src/nsterm.m | |
@@ -4508,7 +4508,7 @@ ns_term_shutdown (int sig) | |
if (mac_pass_key_directly_to_emacs () | |
|| fnKeysym | |
- || (emacs_event->modifiers | |
+ || (emacs_event->modifiers && (emacs_event->modifiers != shift_modifier) | |
&& [[theEvent charactersIgnoringModifiers] length] > 0)) | |
{ | |
emacs_event->kind = NON_ASCII_KEYSTROKE_EVENT; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fix-shiftmodifier-with-ime.patch --> https://github.com/downloads/typester/emacs/fix-shiftmodifier-with-ime.patch
emacs-inline.patch --> http://sourceforge.jp/projects/macemacsjp/svn/view/inline_patch/trunk/?root=macemacsjp