aboutsummaryrefslogtreecommitdiffstats
path: root/src/print.c
diff options
context:
space:
mode:
authorJuanma Barranquero2011-06-24 23:25:22 +0200
committerJuanma Barranquero2011-06-24 23:25:22 +0200
commitcd3520a41df21d80a9d894c58af2daba23c8dd24 (patch)
tree945eaef322c65471833954ddce161a7a913ee3c8 /src/print.c
parent7d0da90e7b98f5c09df82be9985cc27d30adea07 (diff)
downloademacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.tar.gz
emacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.zip
Move DEFSYM to lisp.h and use everywhere.
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c24
1 files changed, 7 insertions, 17 deletions
diff --git a/src/print.c b/src/print.c
index 009bea34f65..14b4326bb6f 100644
--- a/src/print.c
+++ b/src/print.c
@@ -2069,8 +2069,7 @@ print_interval (INTERVAL interval, Lisp_Object printcharfun)
2069void 2069void
2070syms_of_print (void) 2070syms_of_print (void)
2071{ 2071{
2072 Qtemp_buffer_setup_hook = intern_c_string ("temp-buffer-setup-hook"); 2072 DEFSYM (Qtemp_buffer_setup_hook, "temp-buffer-setup-hook");
2073 staticpro (&Qtemp_buffer_setup_hook);
2074 2073
2075 DEFVAR_LISP ("standard-output", Vstandard_output, 2074 DEFVAR_LISP ("standard-output", Vstandard_output,
2076 doc: /* Output stream `print' uses by default for outputting a character. 2075 doc: /* Output stream `print' uses by default for outputting a character.
@@ -2079,8 +2078,7 @@ It may also be a buffer (output is inserted before point)
2079or a marker (output is inserted and the marker is advanced) 2078or a marker (output is inserted and the marker is advanced)
2080or the symbol t (output appears in the echo area). */); 2079or the symbol t (output appears in the echo area). */);
2081 Vstandard_output = Qt; 2080 Vstandard_output = Qt;
2082 Qstandard_output = intern_c_string ("standard-output"); 2081 DEFSYM (Qstandard_output, "standard-output");
2083 staticpro (&Qstandard_output);
2084 2082
2085 DEFVAR_LISP ("float-output-format", Vfloat_output_format, 2083 DEFVAR_LISP ("float-output-format", Vfloat_output_format,
2086 doc: /* The format descriptor string used to print floats. 2084 doc: /* The format descriptor string used to print floats.
@@ -2099,8 +2097,7 @@ decimal point. 0 is not allowed with `e' or `g'.
2099A value of nil means to use the shortest notation 2097A value of nil means to use the shortest notation
2100that represents the number without losing information. */); 2098that represents the number without losing information. */);
2101 Vfloat_output_format = Qnil; 2099 Vfloat_output_format = Qnil;
2102 Qfloat_output_format = intern_c_string ("float-output-format"); 2100 DEFSYM (Qfloat_output_format, "float-output-format");
2103 staticpro (&Qfloat_output_format);
2104 2101
2105 DEFVAR_LISP ("print-length", Vprint_length, 2102 DEFVAR_LISP ("print-length", Vprint_length,
2106 doc: /* Maximum length of list to print before abbreviating. 2103 doc: /* Maximum length of list to print before abbreviating.
@@ -2205,17 +2202,10 @@ priorities. */);
2205 defsubr (&Sredirect_debugging_output); 2202 defsubr (&Sredirect_debugging_output);
2206#endif 2203#endif
2207 2204
2208 Qexternal_debugging_output = intern_c_string ("external-debugging-output"); 2205 DEFSYM (Qexternal_debugging_output, "external-debugging-output");
2209 staticpro (&Qexternal_debugging_output); 2206 DEFSYM (Qprint_escape_newlines, "print-escape-newlines");
2210 2207 DEFSYM (Qprint_escape_multibyte, "print-escape-multibyte");
2211 Qprint_escape_newlines = intern_c_string ("print-escape-newlines"); 2208 DEFSYM (Qprint_escape_nonascii, "print-escape-nonascii");
2212 staticpro (&Qprint_escape_newlines);
2213
2214 Qprint_escape_multibyte = intern_c_string ("print-escape-multibyte");
2215 staticpro (&Qprint_escape_multibyte);
2216
2217 Qprint_escape_nonascii = intern_c_string ("print-escape-nonascii");
2218 staticpro (&Qprint_escape_nonascii);
2219 2209
2220 print_prune_charset_plist = Qnil; 2210 print_prune_charset_plist = Qnil;
2221 staticpro (&print_prune_charset_plist); 2211 staticpro (&print_prune_charset_plist);