summaryrefslogtreecommitdiff
path: root/src/xsettings.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2011-06-24 23:25:22 +0200
committerJuanma Barranquero <lekktu@gmail.com>2011-06-24 23:25:22 +0200
commitcd3520a41df21d80a9d894c58af2daba23c8dd24 (patch)
tree945eaef322c65471833954ddce161a7a913ee3c8 /src/xsettings.c
parent7d0da90e7b98f5c09df82be9985cc27d30adea07 (diff)
downloademacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.tar.gz
Move DEFSYM to lisp.h and use everywhere.
Diffstat (limited to 'src/xsettings.c')
-rw-r--r--src/xsettings.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/xsettings.c b/src/xsettings.c
index e2575650df9..5412cf426f8 100644
--- a/src/xsettings.c
+++ b/src/xsettings.c
@@ -750,12 +750,9 @@ syms_of_xsettings (void)
gconf_client = NULL;
#endif
- Qmonospace_font_name = intern_c_string ("monospace-font-name");
- staticpro (&Qmonospace_font_name);
- Qfont_name = intern_c_string ("font-name");
- staticpro (&Qfont_name);
- Qfont_render = intern_c_string ("font-render");
- staticpro (&Qfont_render);
+ DEFSYM (Qmonospace_font_name, "monospace-font-name");
+ DEFSYM (Qfont_name, "font-name");
+ DEFSYM (Qfont_render, "font-render");
defsubr (&Sfont_get_system_font);
defsubr (&Sfont_get_system_normal_font);
@@ -778,8 +775,7 @@ If this variable is nil, Emacs ignores system font changes. */);
#endif
current_tool_bar_style = Qnil;
- Qtool_bar_style = intern_c_string ("tool-bar-style");
- staticpro (&Qtool_bar_style);
+ DEFSYM (Qtool_bar_style, "tool-bar-style");
defsubr (&Stool_bar_get_system_style);
Fprovide (intern_c_string ("dynamic-setting"), Qnil);