emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 394c81c 1/4: Move variables to inner loop, preparin


From: John Wiegley
Subject: [Emacs-diffs] master 394c81c 1/4: Move variables to inner loop, preparing for Mac port merge
Date: Tue, 19 Jan 2016 06:48:09 +0000

branch: master
commit 394c81c092829cf82c41b859b3a246952854056b
Author: YAMAMOTO Mitsuharu <address@hidden>
Commit: John Wiegley <address@hidden>

    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 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/keyboard.c b/src/keyboard.c
index c3aa76a..83b004b 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);
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]