Mercurial > emacs
comparison src/keyboard.c @ 56461:04a216bfa931
(not_single_kboard_state): Do nothing unless MULTI_KBOARD is defined.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Sat, 17 Jul 2004 17:31:33 +0000 |
parents | 1e0c70660fff |
children | 59a86f6ee1fb 3864ee1088e9 |
comparison
equal
deleted
inserted
replaced
56460:9459300bf43b | 56461:04a216bfa931 |
---|---|
1094 | 1094 |
1095 void | 1095 void |
1096 not_single_kboard_state (kboard) | 1096 not_single_kboard_state (kboard) |
1097 KBOARD *kboard; | 1097 KBOARD *kboard; |
1098 { | 1098 { |
1099 #ifdef MULTI_KBOARD | |
1099 if (kboard == current_kboard) | 1100 if (kboard == current_kboard) |
1100 single_kboard = 0; | 1101 single_kboard = 0; |
1102 #endif | |
1101 } | 1103 } |
1102 | 1104 |
1103 /* Maintain a stack of kboards, so other parts of Emacs | 1105 /* Maintain a stack of kboards, so other parts of Emacs |
1104 can switch temporarily to the kboard of a given frame | 1106 can switch temporarily to the kboard of a given frame |
1105 and then revert to the previous status. */ | 1107 and then revert to the previous status. */ |
10201 } | 10203 } |
10202 | 10204 |
10203 /* Anything we have read ahead, put back for the shell to read. */ | 10205 /* Anything we have read ahead, put back for the shell to read. */ |
10204 /* ?? What should this do when we have multiple keyboards?? | 10206 /* ?? What should this do when we have multiple keyboards?? |
10205 Should we ignore anything that was typed in at the "wrong" kboard? | 10207 Should we ignore anything that was typed in at the "wrong" kboard? |
10206 | 10208 |
10207 rms: we should stuff everything back into the kboard | 10209 rms: we should stuff everything back into the kboard |
10208 it came from. */ | 10210 it came from. */ |
10209 for (; kbd_fetch_ptr != kbd_store_ptr; kbd_fetch_ptr++) | 10211 for (; kbd_fetch_ptr != kbd_store_ptr; kbd_fetch_ptr++) |
10210 { | 10212 { |
10211 | 10213 |