Commit b3671617 authored by Paul Eggert's avatar Paul Eggert
Browse files

* xterm.c (syms_of_xterm): staticpro Qalt, Qhyper, Qmeta, and Qsuper.

This is safer, and it's what w32fns.c does.
parent e3ac17b6
2013-11-12 Paul Eggert <eggert@cs.ucla.edu>
* xterm.c (syms_of_xterm): staticpro Qmodifier_value.
* xterm.c (syms_of_xterm): staticpro Qmodifier_value, Qalt, Qhyper,
Qmeta, and Qsuper. This is safer, and it's what w32fns.c does.
* buffer.c (Fforce_mode_line_update): Don't fall off end of function
that requires a return value.
......
......@@ -10588,13 +10588,13 @@ With MS Windows or Nextstep, the value is t. */);
#endif
DEFSYM (Qmodifier_value, "modifier-value");
Qalt = intern_c_string ("alt");
DEFSYM (Qalt, "alt");
Fput (Qalt, Qmodifier_value, make_number (alt_modifier));
Qhyper = intern_c_string ("hyper");
DEFSYM (Qhyper, "hyper");
Fput (Qhyper, Qmodifier_value, make_number (hyper_modifier));
Qmeta = intern_c_string ("meta");
DEFSYM (Qmeta, "meta");
Fput (Qmeta, Qmodifier_value, make_number (meta_modifier));
Qsuper = intern_c_string ("super");
DEFSYM (Qsuper, "super");
Fput (Qsuper, Qmodifier_value, make_number (super_modifier));
DEFVAR_LISP ("x-alt-keysym", Vx_alt_keysym,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment