aboutsummaryrefslogtreecommitdiffstats
path: root/src/callint.c
diff options
context:
space:
mode:
authorTom Tromey2011-02-16 09:35:16 -0700
committerTom Tromey2011-02-16 09:35:16 -0700
commit1344aad491d0951920efef6cae1c6934f92cd59b (patch)
treed251eb2e3842b09f1d269e0586668aa0e509f211 /src/callint.c
parenteb4916d71a6a4293b1dd51deb19cf267bb62b7ae (diff)
downloademacs-1344aad491d0951920efef6cae1c6934f92cd59b.tar.gz
emacs-1344aad491d0951920efef6cae1c6934f92cd59b.zip
Hide implementation of `struct kboard'
* callint.c (Fcall_interactively): Update. * doc.c (Fsubstitute_command_keys): Update. * cmds.c (Fself_insert_command): Update. * keymap.c (Fcurrent_active_maps, Fkey_binding) (Fdescribe_buffer_bindings): Update. * macros.c (Fstart_kbd_macro, end_kbd_macro, Fend_kbd_macro) (store_kbd_macro_char, Fcall_last_kbd_macro, Fexecute_kbd_macro): Update. * keyboard.c (echo_char, echo_dash, echo_now, cancel_echoing) (echo_length, echo_truncate, cmd_error, command_loop_1) (read_char, kbd_buffer_store_event_hold, make_lispy_event) (menu_bar_items, tool_bar_items, read_char_minibuf_menu_prompt) (read_key_sequence, Fcommand_execute, Fexecute_extended_command) (Fdiscard_input, init_kboard, init_keyboard, mark_kboards): Update. * xfns.c (Fx_create_frame): Update. * xterm.c (x_connection_closed, x_term_init): Update. * term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN, init_tty): Update. * window.c (window_scroll_pixel_based, window_scroll_line_based): Update. * frame.c (make_frame_without_minibuffer, Fhandle_switch_frame) (delete_frame): Update. * lisp.h (DEFVAR_KBOARD): Update for change to field names. * keyboard.h (struct kboard): Rename all Lisp_Object fields. (KBOARD_INTERNAL_FIELD, KVAR): New macros.
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/callint.c b/src/callint.c
index b998c70187d..21dd3cd4d9d 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -280,7 +280,7 @@ invoke it. If KEYS is omitted or nil, the return value of
280 save_this_command = Vthis_command; 280 save_this_command = Vthis_command;
281 save_this_original_command = Vthis_original_command; 281 save_this_original_command = Vthis_original_command;
282 save_real_this_command = real_this_command; 282 save_real_this_command = real_this_command;
283 save_last_command = current_kboard->Vlast_command; 283 save_last_command = KVAR (current_kboard, Vlast_command);
284 284
285 if (NILP (keys)) 285 if (NILP (keys))
286 keys = this_command_keys, key_count = this_command_key_count; 286 keys = this_command_keys, key_count = this_command_key_count;
@@ -363,7 +363,7 @@ invoke it. If KEYS is omitted or nil, the return value of
363 Vthis_command = save_this_command; 363 Vthis_command = save_this_command;
364 Vthis_original_command = save_this_original_command; 364 Vthis_original_command = save_this_original_command;
365 real_this_command= save_real_this_command; 365 real_this_command= save_real_this_command;
366 current_kboard->Vlast_command = save_last_command; 366 KVAR (current_kboard, Vlast_command) = save_last_command;
367 367
368 temporarily_switch_to_single_kboard (NULL); 368 temporarily_switch_to_single_kboard (NULL);
369 return unbind_to (speccount, apply1 (function, specs)); 369 return unbind_to (speccount, apply1 (function, specs));
@@ -832,7 +832,7 @@ invoke it. If KEYS is omitted or nil, the return value of
832 Vthis_command = save_this_command; 832 Vthis_command = save_this_command;
833 Vthis_original_command = save_this_original_command; 833 Vthis_original_command = save_this_original_command;
834 real_this_command= save_real_this_command; 834 real_this_command= save_real_this_command;
835 current_kboard->Vlast_command = save_last_command; 835 KVAR (current_kboard, Vlast_command) = save_last_command;
836 836
837 { 837 {
838 Lisp_Object val; 838 Lisp_Object val;