From: YAMAMOTO Mitsuharu Date: Thu, 31 Dec 2015 02:28:16 +0000 (+0900) Subject: Move variables to inner loop, preparing for Mac port merge X-Git-Tag: emacs-26.0.90~2816^2~8 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=394c81c092829cf82c41b859b3a246952854056b;p=emacs.git 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. --- diff --git a/src/keyboard.c b/src/keyboard.c index c3aa76af518..83b004b7737 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);