[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 30f4a89: Move variables to inner loop, preparing
From: |
YAMAMOTO Mitsuharu |
Subject: |
[Emacs-diffs] emacs-25 30f4a89: Move variables to inner loop, preparing for Mac port merge |
Date: |
Thu, 31 Dec 2015 02:28:49 +0000 |
branch: emacs-25
commit 30f4a892eccf5bae7f824b1845222db104246258
Author: YAMAMOTO Mitsuharu <address@hidden>
Commit: YAMAMOTO Mitsuharu <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 b0fe328..2438e69 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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 30f4a89: Move variables to inner loop, preparing for Mac port merge,
YAMAMOTO Mitsuharu <=