diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-06-24 23:25:22 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-06-24 23:25:22 +0200 |
commit | cd3520a41df21d80a9d894c58af2daba23c8dd24 (patch) | |
tree | 945eaef322c65471833954ddce161a7a913ee3c8 /src/xfns.c | |
parent | 7d0da90e7b98f5c09df82be9985cc27d30adea07 (diff) | |
download | emacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.tar.gz |
Move DEFSYM to lisp.h and use everywhere.
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/xfns.c b/src/xfns.c index 2b2ecf93739..e5d10ce905e 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -5797,25 +5797,18 @@ syms_of_xfns (void) /* The section below is built by the lisp expression at the top of the file, just above where these variables are declared. */ /*&&& init symbols here &&&*/ - Qnone = intern_c_string ("none"); - staticpro (&Qnone); - Qsuppress_icon = intern_c_string ("suppress-icon"); - staticpro (&Qsuppress_icon); - Qundefined_color = intern_c_string ("undefined-color"); - staticpro (&Qundefined_color); - Qcompound_text = intern_c_string ("compound-text"); - staticpro (&Qcompound_text); - Qcancel_timer = intern_c_string ("cancel-timer"); - staticpro (&Qcancel_timer); - Qfont_param = intern_c_string ("font-parameter"); - staticpro (&Qfont_param); + DEFSYM (Qnone, "none"); + DEFSYM (Qsuppress_icon, "suppress-icon"); + DEFSYM (Qundefined_color, "undefined-color"); + DEFSYM (Qcompound_text, "compound-text"); + DEFSYM (Qcancel_timer, "cancel-timer"); + DEFSYM (Qfont_param, "font-parameter"); /* This is the end of symbol initialization. */ /* Text property `display' should be nonsticky by default. */ Vtext_property_default_nonsticky = Fcons (Fcons (Qdisplay, Qt), Vtext_property_default_nonsticky); - Fput (Qundefined_color, Qerror_conditions, pure_cons (Qundefined_color, pure_cons (Qerror, Qnil))); Fput (Qundefined_color, Qerror_message, |