aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorJoakim Verona2012-08-15 21:49:40 +0200
committerJoakim Verona2012-08-15 21:49:40 +0200
commitb648c26ec642a1dc58c0bd7e59d6011b964dbe37 (patch)
treef0f3b38ffa9054702f475fc53622e28da14f97b1 /src/term.c
parentc8b0fc1999006af5a4317b44068fac13d9592143 (diff)
parent94c9ece10275f8ca9323c38f93607f1046035c79 (diff)
downloademacs-b648c26ec642a1dc58c0bd7e59d6011b964dbe37.tar.gz
emacs-b648c26ec642a1dc58c0bd7e59d6011b964dbe37.zip
upstream
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/term.c b/src/term.c
index 803bb6458b6..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 {
@@ -2192,7 +2192,7 @@ set_tty_color_mode (struct tty_display_info *tty, struct frame *f)
2192 Lisp_Object tty_color_mode_alist 2192 Lisp_Object tty_color_mode_alist
2193 = Fintern_soft (build_string ("tty-color-mode-alist"), Qnil); 2193 = Fintern_soft (build_string ("tty-color-mode-alist"), Qnil);
2194 2194
2195 tem = assq_no_quit (Qtty_color_mode, FVAR (f, param_alist)); 2195 tem = assq_no_quit (Qtty_color_mode, f->param_alist);
2196 val = CONSP (tem) ? XCDR (tem) : Qnil; 2196 val = CONSP (tem) ? XCDR (tem) : Qnil;
2197 2197
2198 if (INTEGERP (val)) 2198 if (INTEGERP (val))
@@ -3281,7 +3281,7 @@ use the Bourne shell command `TERM=... export TERM' (C-shell:\n\
3281 3281
3282 terminal->kboard = xmalloc (sizeof *terminal->kboard); 3282 terminal->kboard = xmalloc (sizeof *terminal->kboard);
3283 init_kboard (terminal->kboard); 3283 init_kboard (terminal->kboard);
3284 KVAR (terminal->kboard, Vwindow_system) = Qnil; 3284 KSET (terminal->kboard, Vwindow_system, Qnil);
3285 terminal->kboard->next_kboard = all_kboards; 3285 terminal->kboard->next_kboard = all_kboards;
3286 all_kboards = terminal->kboard; 3286 all_kboards = terminal->kboard;
3287 terminal->kboard->reference_count++; 3287 terminal->kboard->reference_count++;
@@ -3571,14 +3571,14 @@ This variable can be used by terminal emulator packages. */);
3571#endif 3571#endif
3572 3572
3573 DEFVAR_LISP ("suspend-tty-functions", Vsuspend_tty_functions, 3573 DEFVAR_LISP ("suspend-tty-functions", Vsuspend_tty_functions,
3574 doc: /* Functions to be run after suspending a tty. 3574 doc: /* Functions run after suspending a tty.
3575The 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.
3576See `suspend-tty'. */); 3576See `suspend-tty'. */);
3577 Vsuspend_tty_functions = Qnil; 3577 Vsuspend_tty_functions = Qnil;
3578 3578
3579 3579
3580 DEFVAR_LISP ("resume-tty-functions", Vresume_tty_functions, 3580 DEFVAR_LISP ("resume-tty-functions", Vresume_tty_functions,
3581 doc: /* Functions to be run after resuming a tty. 3581 doc: /* Functions run after resuming a tty.
3582The 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.
3583See `resume-tty'. */); 3583See `resume-tty'. */);
3584 Vresume_tty_functions = Qnil; 3584 Vresume_tty_functions = Qnil;