From 30f4a892eccf5bae7f824b1845222db104246258 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Thu, 31 Dec 2015 11:28:16 +0900 Subject: [PATCH] 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. --- src/keyboard.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index b0fe328dbd6..2438e69364f 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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); -- 2.39.2