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
0d882d52
Commit
0d882d52
authored
Jan 24, 1995
by
Karl Heuer
Browse files
(read_key_sequence): Don't wait for a possible key translation sequence if we
already have a binding. Add missing break statement.
parent
453827d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/keyboard.c
src/keyboard.c
+4
-2
No files found.
src/keyboard.c
View file @
0d882d52
/* Keyboard and mouse input; editor command loop.
Copyright (C) 1985,86,87,88,89,93,94 Free Software Foundation, Inc.
Copyright (C) 1985,86,87,88,89,93,94
,95
Free Software Foundation, Inc.
This file is part of GNU Emacs.
...
...
@@ -4666,7 +4666,8 @@ read_key_sequence (keybuf, bufsize, prompt)
&&
fkey_start
<
t
/* mock input is never part of a function key's sequence. */
&&
mock_input
<=
fkey_start
)
|| (keytran_start < t && key_translation_possible)
||
(
first_binding
>=
nmaps
&&
keytran_start
<
t
&&
key_translation_possible
)
/* Don't return in the middle of a possible function key sequence,
if the only bindings we found were via case conversion.
Thus, if ESC O a has a function-key-map translation
...
...
@@ -4949,6 +4950,7 @@ read_key_sequence (keybuf, bufsize, prompt)
/* The Microsoft C compiler can't handle the goto that
would go here. */
dummyFlag
=
1
;
break
;
}
if
(
SYMBOLP
(
head
))
...
...
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