aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 048f0ee6637..203792960ca 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -3332,13 +3332,13 @@ init_syntax_once ()
3332 Lisp_Object temp; 3332 Lisp_Object temp;
3333 3333
3334 /* This has to be done here, before we call Fmake_char_table. */ 3334 /* This has to be done here, before we call Fmake_char_table. */
3335 Qsyntax_table = intern ("syntax-table"); 3335 Qsyntax_table = intern_c_string ("syntax-table");
3336 staticpro (&Qsyntax_table); 3336 staticpro (&Qsyntax_table);
3337 3337
3338 /* Intern this now in case it isn't already done. 3338 /* Intern_C_String this now in case it isn't already done.
3339 Setting this variable twice is harmless. 3339 Setting this variable twice is harmless.
3340 But don't staticpro it here--that is done in alloc.c. */ 3340 But don't staticpro it here--that is done in alloc.c. */
3341 Qchar_table_extra_slots = intern ("char-table-extra-slots"); 3341 Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots");
3342 3342
3343 /* Create objects which can be shared among syntax tables. */ 3343 /* Create objects which can be shared among syntax tables. */
3344 Vsyntax_code_object = Fmake_vector (make_number (Smax), Qnil); 3344 Vsyntax_code_object = Fmake_vector (make_number (Smax), Qnil);
@@ -3418,7 +3418,7 @@ init_syntax_once ()
3418void 3418void
3419syms_of_syntax () 3419syms_of_syntax ()
3420{ 3420{
3421 Qsyntax_table_p = intern ("syntax-table-p"); 3421 Qsyntax_table_p = intern_c_string ("syntax-table-p");
3422 staticpro (&Qsyntax_table_p); 3422 staticpro (&Qsyntax_table_p);
3423 3423
3424 staticpro (&Vsyntax_code_object); 3424 staticpro (&Vsyntax_code_object);
@@ -3431,12 +3431,12 @@ syms_of_syntax ()
3431 /* Defined in regex.c */ 3431 /* Defined in regex.c */
3432 staticpro (&re_match_object); 3432 staticpro (&re_match_object);
3433 3433
3434 Qscan_error = intern ("scan-error"); 3434 Qscan_error = intern_c_string ("scan-error");
3435 staticpro (&Qscan_error); 3435 staticpro (&Qscan_error);
3436 Fput (Qscan_error, Qerror_conditions, 3436 Fput (Qscan_error, Qerror_conditions,
3437 Fcons (Qscan_error, Fcons (Qerror, Qnil))); 3437 pure_cons (Qscan_error, pure_cons (Qerror, Qnil)));
3438 Fput (Qscan_error, Qerror_message, 3438 Fput (Qscan_error, Qerror_message,
3439 build_string ("Scan error")); 3439 make_pure_c_string ("Scan error"));
3440 3440
3441 DEFVAR_BOOL ("parse-sexp-ignore-comments", &parse_sexp_ignore_comments, 3441 DEFVAR_BOOL ("parse-sexp-ignore-comments", &parse_sexp_ignore_comments,
3442 doc: /* Non-nil means `forward-sexp', etc., should treat comments as whitespace. */); 3442 doc: /* Non-nil means `forward-sexp', etc., should treat comments as whitespace. */);