summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2015-12-31 11:28:16 +0900
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2015-12-31 11:28:16 +0900
commit30f4a892eccf5bae7f824b1845222db104246258 (patch)
tree9300f66a77e99dbbd74f6d3d05ce8165e8594d72 /src
parent6ee327d8a10047c1717358cc179ed8d1fb3389eb (diff)
downloademacs-30f4a892eccf5bae7f824b1845222db104246258.tar.gz
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.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c7
1 files 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);