1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

Move variables to inner loop, preparing for Mac port merge

* src/keyboard.c (command_loop_1): Move variables `cmd',
`keybuf', and `i' to inner loop.
This commit is contained in:
YAMAMOTO Mitsuharu 2015-12-31 11:28:16 +09:00 committed by John Wiegley
parent e2203fb326
commit 394c81c092

View File

@ -1234,9 +1234,6 @@ static void adjust_point_for_property (ptrdiff_t, bool);
Lisp_Object
command_loop_1 (void)
{
Lisp_Object cmd;
Lisp_Object keybuf[30];
int i;
EMACS_INT prev_modiff = 0;
struct buffer *prev_buffer = NULL;
bool already_adjusted = 0;
@ -1280,6 +1277,10 @@ command_loop_1 (void)
while (1)
{
Lisp_Object cmd;
Lisp_Object keybuf[30];
int i;
if (! FRAME_LIVE_P (XFRAME (selected_frame)))
Fkill_emacs (Qnil);