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
2fdb281a
Commit
2fdb281a
authored
Mar 09, 2024
by
Tim Ruffing
Committed by
Stefan Monnier
Mar 10, 2024
Browse files
* src/keyboard.c (read_key_sequence): Remove MSVC compatibility hack
parent
df3e0bcb
Pipeline
#28458
failed with stages
in 46 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
13 deletions
+5
-13
src/keyboard.c
src/keyboard.c
+5
-13
No files found.
src/keyboard.c
View file @
2fdb281a
...
...
@@ -10442,9 +10442,6 @@ read_key_sequence (Lisp_Object *keybuf, Lisp_Object prompt,
Lisp_Object original_uppercase UNINIT;
int original_uppercase_position = -1;
/* Gets around Microsoft compiler limitations. */
bool dummyflag = false;
#ifdef HAVE_TEXT_CONVERSION
bool disabled_conversion;
...
...
@@ -10693,10 +10690,7 @@ read_key_sequence (Lisp_Object *keybuf, Lisp_Object prompt,
&& !requeued_events_pending_p ())
{
t = 0;
/* The Microsoft C compiler can't handle the goto that
would go here. */
dummyflag = true;
break;
goto done;
}
/* Otherwise, we should actually read a character. */
else
...
...
@@ -11291,10 +11285,7 @@ read_key_sequence (Lisp_Object *keybuf, Lisp_Object prompt,
&& help_char_p (EVENT_HEAD (key)) && t > 1)
{
read_key_sequence_cmd = Vprefix_help_command;
/* The Microsoft C compiler can't handle the goto that
would go here. */
dummyflag = true;
break;
goto done;
}
/* If KEY is not defined in any of the keymaps,
...
...
@@ -11343,8 +11334,9 @@ read_key_sequence (Lisp_Object *keybuf, Lisp_Object prompt,
}
}
}
if (!dummyflag)
read_key_sequence_cmd = current_binding;
read_key_sequence_cmd = current_binding;
done:
read_key_sequence_remapped
/* Remap command through active keymaps.
Do the remapping here, before the unbind_to so it uses the keymaps
...
...
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