diff options
| author | Karoly Lorentey | 2004-06-07 07:10:59 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-06-07 07:10:59 +0000 |
| commit | c98e2d50e4f0f0eaf69520092cb94531545b221d (patch) | |
| tree | 1d1ec41554ed5a47f6117140107fe1419fa42bf2 /src | |
| parent | 7d1a6b3347c6f36b6c45f4382962cdcf2f99f8bb (diff) | |
| download | emacs-c98e2d50e4f0f0eaf69520092cb94531545b221d.tar.gz emacs-c98e2d50e4f0f0eaf69520092cb94531545b221d.zip | |
Clear single_kboard each time Emacs returns to top-level.
* src/keyboard.c (command_loop): Clear single_kboard each time Emacs
returns to top-level.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-189
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 31137ffc679..bf083c23d66 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1234,6 +1234,10 @@ command_loop () | |||
| 1234 | while (1) | 1234 | while (1) |
| 1235 | { | 1235 | { |
| 1236 | internal_catch (Qtop_level, top_level_1, Qnil); | 1236 | internal_catch (Qtop_level, top_level_1, Qnil); |
| 1237 | /* Reset single_kboard in case top-level set it while | ||
| 1238 | evaluating an -f option, or we are stuck there for some | ||
| 1239 | other reason. */ | ||
| 1240 | any_kboard_state (); | ||
| 1237 | internal_catch (Qtop_level, command_loop_2, Qnil); | 1241 | internal_catch (Qtop_level, command_loop_2, Qnil); |
| 1238 | executing_macro = Qnil; | 1242 | executing_macro = Qnil; |
| 1239 | 1243 | ||