diff options
| author | YAMAMOTO Mitsuharu | 2015-12-31 11:28:16 +0900 |
|---|---|---|
| committer | John Wiegley | 2016-01-18 22:29:10 -0800 |
| commit | 394c81c092829cf82c41b859b3a246952854056b (patch) | |
| tree | 51772870f020b60981820dcfa69fa600cf123ad9 /src | |
| parent | e2203fb3260d959661eba307db0e289143698c5e (diff) | |
| download | emacs-394c81c092829cf82c41b859b3a246952854056b.tar.gz emacs-394c81c092829cf82c41b859b3a246952854056b.zip | |
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.c | 7 |
1 files changed, 4 insertions, 3 deletions
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); | |||
| 1234 | Lisp_Object | 1234 | Lisp_Object |
| 1235 | command_loop_1 (void) | 1235 | command_loop_1 (void) |
| 1236 | { | 1236 | { |
| 1237 | Lisp_Object cmd; | ||
| 1238 | Lisp_Object keybuf[30]; | ||
| 1239 | int i; | ||
| 1240 | EMACS_INT prev_modiff = 0; | 1237 | EMACS_INT prev_modiff = 0; |
| 1241 | struct buffer *prev_buffer = NULL; | 1238 | struct buffer *prev_buffer = NULL; |
| 1242 | bool already_adjusted = 0; | 1239 | bool already_adjusted = 0; |
| @@ -1280,6 +1277,10 @@ command_loop_1 (void) | |||
| 1280 | 1277 | ||
| 1281 | while (1) | 1278 | while (1) |
| 1282 | { | 1279 | { |
| 1280 | Lisp_Object cmd; | ||
| 1281 | Lisp_Object keybuf[30]; | ||
| 1282 | int i; | ||
| 1283 | |||
| 1283 | if (! FRAME_LIVE_P (XFRAME (selected_frame))) | 1284 | if (! FRAME_LIVE_P (XFRAME (selected_frame))) |
| 1284 | Fkill_emacs (Qnil); | 1285 | Fkill_emacs (Qnil); |
| 1285 | 1286 | ||