Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4ce7a138
Commit
4ce7a138
authored
Aug 22, 2012
by
Jan Djärv
Browse files
* nsterm.m (insertText:): Don't clear modifiers if code is space.
parent
caceae25
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/nsterm.m
src/nsterm.m
+2
-1
No files found.
src/ChangeLog
View file @
4ce7a138
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.
...
...
src/nsterm.m
View file @
4ce7a138
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment