aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/term.c b/src/term.c
index 4d73f896d21..514c7ad11ec 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1333,7 +1333,7 @@ term_get_fkeys_1 (void)
1333 1333
1334 /* This can happen if CANNOT_DUMP or with strange options. */ 1334 /* This can happen if CANNOT_DUMP or with strange options. */
1335 if (!KEYMAPP (KVAR (kboard, Vinput_decode_map))) 1335 if (!KEYMAPP (KVAR (kboard, Vinput_decode_map)))
1336 KVAR (kboard, Vinput_decode_map) = Fmake_sparse_keymap (Qnil); 1336 KSET (kboard, Vinput_decode_map, Fmake_sparse_keymap (Qnil));
1337 1337
1338 for (i = 0; i < (sizeof (keys)/sizeof (keys[0])); i++) 1338 for (i = 0; i < (sizeof (keys)/sizeof (keys[0])); i++)
1339 { 1339 {
@@ -2209,11 +2209,10 @@ set_tty_color_mode (struct tty_display_info *tty, struct frame *f)
2209 2209
2210 if (mode != tty->previous_color_mode) 2210 if (mode != tty->previous_color_mode)
2211 { 2211 {
2212 Lisp_Object funsym = intern ("tty-set-up-initial-frame-faces");
2213 tty->previous_color_mode = mode; 2212 tty->previous_color_mode = mode;
2214 tty_setup_colors (tty , mode); 2213 tty_setup_colors (tty , mode);
2215 /* This recomputes all the faces given the new color definitions. */ 2214 /* This recomputes all the faces given the new color definitions. */
2216 safe_call (1, &funsym); 2215 safe_call (1, intern ("tty-set-up-initial-frame-faces"));
2217 } 2216 }
2218} 2217}
2219 2218
@@ -3282,7 +3281,7 @@ use the Bourne shell command `TERM=... export TERM' (C-shell:\n\
3282 3281
3283 terminal->kboard = xmalloc (sizeof *terminal->kboard); 3282 terminal->kboard = xmalloc (sizeof *terminal->kboard);
3284 init_kboard (terminal->kboard); 3283 init_kboard (terminal->kboard);
3285 KVAR (terminal->kboard, Vwindow_system) = Qnil; 3284 KSET (terminal->kboard, Vwindow_system, Qnil);
3286 terminal->kboard->next_kboard = all_kboards; 3285 terminal->kboard->next_kboard = all_kboards;
3287 all_kboards = terminal->kboard; 3286 all_kboards = terminal->kboard;
3288 terminal->kboard->reference_count++; 3287 terminal->kboard->reference_count++;
@@ -3572,14 +3571,14 @@ This variable can be used by terminal emulator packages. */);
3572#endif 3571#endif
3573 3572
3574 DEFVAR_LISP ("suspend-tty-functions", Vsuspend_tty_functions, 3573 DEFVAR_LISP ("suspend-tty-functions", Vsuspend_tty_functions,
3575 doc: /* Functions to be run after suspending a tty. 3574 doc: /* Functions run after suspending a tty.
3576The functions are run with one argument, the terminal object to be suspended. 3575The functions are run with one argument, the terminal object to be suspended.
3577See `suspend-tty'. */); 3576See `suspend-tty'. */);
3578 Vsuspend_tty_functions = Qnil; 3577 Vsuspend_tty_functions = Qnil;
3579 3578
3580 3579
3581 DEFVAR_LISP ("resume-tty-functions", Vresume_tty_functions, 3580 DEFVAR_LISP ("resume-tty-functions", Vresume_tty_functions,
3582 doc: /* Functions to be run after resuming a tty. 3581 doc: /* Functions run after resuming a tty.
3583The functions are run with one argument, the terminal object that was revived. 3582The functions are run with one argument, the terminal object that was revived.
3584See `resume-tty'. */); 3583See `resume-tty'. */);
3585 Vresume_tty_functions = Qnil; 3584 Vresume_tty_functions = Qnil;