* nsterm.m (insertText:): Don't clear modifiers if code is space.
This commit is contained in:
parent
caceae2529
commit
4ce7a13803
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-08-22 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* nsterm.m (insertText:): Don't clear modifiers if code is space.
|
||||
|
||||
2012-08-22 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* fontset.c (FONTSET_ADD): Return void, not Lisp_Object.
|
||||
|
|
|
@ -5091,7 +5091,8 @@ - (void)insertText: (id)aString
|
|||
/* TODO: still need this? */
|
||||
if (code == 0x2DC)
|
||||
code = '~'; /* 0x7E */
|
||||
emacs_event->modifiers = 0;
|
||||
if (code != 32) /* Space */
|
||||
emacs_event->modifiers = 0;
|
||||
emacs_event->kind
|
||||
= code > 0xFF ? MULTIBYTE_CHAR_KEYSTROKE_EVENT : ASCII_KEYSTROKE_EVENT;
|
||||
emacs_event->code = code;
|
||||
|
|
Loading…
Add table
Reference in a new issue