diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-08-17 16:38:43 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-08-17 16:38:43 -0700 |
commit | 15dbb4d6ba5dea7d3e0f45ab3fd038c2b305a145 (patch) | |
tree | 2b8f35fcfd05d43551b873d4390264768f099dfb /src/msdos.c | |
parent | f00af5b1c24515f20f96cfd8d59983ab62fb3f25 (diff) |
* keyboard.h (KSET): Remove.
Replace all uses with calls to new setter functions.
Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
(KEYBOARD_INLINE): New macro.
(kset_default_minibuffer_frame, kset_defining_kbd_macro)
(kset_input_decode_map, kset_last_command, kset_last_kbd_macro)
(kset_prefix_arg, kset_system_key_alist, kset_window_system):
New setter functions.
* keyboard.c (KEYBOARD_INLINE):
Define to EXTERN_INLINE, so that the corresponding functions
are compiled into code.
(kset_echo_string, kset_kbd_queue)
(kset_keyboard_translate_table, kset_last_prefix_arg)
(kset_last_repeatable_command, kset_local_function_key_map)
(kset_overriding_terminal_local_map, kset_real_last_command)
(kset_system_key_syms): New setter functions.
Fixes: debbugs:12215
Diffstat (limited to 'src/msdos.c')
-rw-r--r-- | src/msdos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/msdos.c b/src/msdos.c index bcb7fbe75e..30435820d9 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -520,8 +520,8 @@ dos_set_window_size (int *rows, int *cols) /* If the user specified a special video mode for these dimensions, use that mode. */ - video_mode - = Fsymbol_value (Fintern_soft (make_formatted_string + video_mode + = Fsymbol_value (Fintern_soft (make_formatted_string (video_name, "screen-dimensions-%dx%d", *rows, *cols), Qnil)); @@ -1801,7 +1801,7 @@ internal_terminal_init (void) } tty = FRAME_TTY (sf); - KSET (current_kboard, Vwindow_system, Qpc); + kset_window_system (current_kboard, Qpc); sf->output_method = output_msdos_raw; if (init_needed) { |