aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorDan Nicolaescu2009-11-06 06:50:52 +0000
committerDan Nicolaescu2009-11-06 06:50:52 +0000
commitd67b4f80dbe514d6e351e7d89c78921c85e7dbe7 (patch)
treeda83a5dc49e499e330365feaa8123709fdf0cc88 /src/eval.c
parent495bd5ca19cf79a9e91b77bf2e2ea37b8be3ef1f (diff)
downloademacs-d67b4f80dbe514d6e351e7d89c78921c85e7dbe7.tar.gz
emacs-d67b4f80dbe514d6e351e7d89c78921c85e7dbe7.zip
* xterm.c (syms_of_xterm):
* xselect.c (syms_of_xselect): * xmenu.c (syms_of_xmenu): * xfns.c (syms_of_xfns): * xfaces.c (syms_of_xfaces): * xdisp.c (syms_of_xdisp): * window.c (syms_of_window): * w32fns.c (syms_of_w32fns): * undo.c (syms_of_undo): * textprop.c (syms_of_textprop): * terminal.c (syms_of_terminal): * syntax.c (syms_of_syntax): * sound.c (syms_of_sound): * search.c (syms_of_search): * print.c (syms_of_print): * minibuf.c (syms_of_minibuf): * macros.c (syms_of_macros): * keymap.c (syms_of_keymap, initial_define_key) (initial_define_lispy_key): * keyboard.c (syms_of_keyboard): * insdel.c (syms_of_insdel): * image.c (syms_of_image): * fringe.c (syms_of_fringe): * frame.c (syms_of_frame): * fontset.c (syms_of_fontset): * fns.c (syms_of_fns): * fns.c (syms_of_fns): * fileio.c (syms_of_fileio): * fileio.c (syms_of_fileio): * eval.c (syms_of_eval): * doc.c (syms_of_doc): * dispnew.c (syms_of_display): * dired.c (syms_of_dired): * dbusbind.c (syms_of_dbusbind): * data.c (syms_of_data): * composite.c (syms_of_composite): * coding.c (syms_of_coding): * cmds.c (syms_of_cmds): * charset.c (define_charset_internal, syms_of_character): * ccl.c (syms_of_ccl): * category.c (syms_of_category, init_category_once): * casetab.c (syms_of_casetab): * casefiddle.c (syms_of_casefiddle): * callint.c (syms_of_callint): * bytecode.c (syms_of_bytecode): * buffer.c (keys_of_buffer, syms_of_buffer): * alloc.c (syms_of_alloc): * process.c (syms_of_process, init_process): * lread.c (syms_of_lread, init_obarray): * font.c (build_style_table): * emacs.c (syms_of_emacs, main): Replace calls to intern with intern_c_string, calls to make_pure_string with make_pure_c_string. Use pure_cons instead of Fcons. * process.c (socket_options): Make it const. (set_socket_option, init_process): Use a const pointer. * lread.c (intern_c_string): New function. (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool) (defvar_int): Uset it. Make the name const char*. * font.c (struct table_entry): Remove unused member. Make NAMES constant. (weight_table, slant_table, width_table): Make constant. * emacs.c (struct standard_args): Make name and longname constant.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/eval.c b/src/eval.c
index 3945a1b7a55..1c975003318 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3583,42 +3583,42 @@ To prevent this happening, set `quit-flag' to nil
3583before making `inhibit-quit' nil. */); 3583before making `inhibit-quit' nil. */);
3584 Vinhibit_quit = Qnil; 3584 Vinhibit_quit = Qnil;
3585 3585
3586 Qinhibit_quit = intern ("inhibit-quit"); 3586 Qinhibit_quit = intern_c_string ("inhibit-quit");
3587 staticpro (&Qinhibit_quit); 3587 staticpro (&Qinhibit_quit);
3588 3588
3589 Qautoload = intern ("autoload"); 3589 Qautoload = intern_c_string ("autoload");
3590 staticpro (&Qautoload); 3590 staticpro (&Qautoload);
3591 3591
3592 Qdebug_on_error = intern ("debug-on-error"); 3592 Qdebug_on_error = intern_c_string ("debug-on-error");
3593 staticpro (&Qdebug_on_error); 3593 staticpro (&Qdebug_on_error);
3594 3594
3595 Qmacro = intern ("macro"); 3595 Qmacro = intern_c_string ("macro");
3596 staticpro (&Qmacro); 3596 staticpro (&Qmacro);
3597 3597
3598 Qdeclare = intern ("declare"); 3598 Qdeclare = intern_c_string ("declare");
3599 staticpro (&Qdeclare); 3599 staticpro (&Qdeclare);
3600 3600
3601 /* Note that the process handling also uses Qexit, but we don't want 3601 /* Note that the process handling also uses Qexit, but we don't want
3602 to staticpro it twice, so we just do it here. */ 3602 to staticpro it twice, so we just do it here. */
3603 Qexit = intern ("exit"); 3603 Qexit = intern_c_string ("exit");
3604 staticpro (&Qexit); 3604 staticpro (&Qexit);
3605 3605
3606 Qinteractive = intern ("interactive"); 3606 Qinteractive = intern_c_string ("interactive");
3607 staticpro (&Qinteractive); 3607 staticpro (&Qinteractive);
3608 3608
3609 Qcommandp = intern ("commandp"); 3609 Qcommandp = intern_c_string ("commandp");
3610 staticpro (&Qcommandp); 3610 staticpro (&Qcommandp);
3611 3611
3612 Qdefun = intern ("defun"); 3612 Qdefun = intern_c_string ("defun");
3613 staticpro (&Qdefun); 3613 staticpro (&Qdefun);
3614 3614
3615 Qand_rest = intern ("&rest"); 3615 Qand_rest = intern_c_string ("&rest");
3616 staticpro (&Qand_rest); 3616 staticpro (&Qand_rest);
3617 3617
3618 Qand_optional = intern ("&optional"); 3618 Qand_optional = intern_c_string ("&optional");
3619 staticpro (&Qand_optional); 3619 staticpro (&Qand_optional);
3620 3620
3621 Qdebug = intern ("debug"); 3621 Qdebug = intern_c_string ("debug");
3622 staticpro (&Qdebug); 3622 staticpro (&Qdebug);
3623 3623
3624 DEFVAR_LISP ("stack-trace-on-error", &Vstack_trace_on_error, 3624 DEFVAR_LISP ("stack-trace-on-error", &Vstack_trace_on_error,
@@ -3693,7 +3693,7 @@ DECL is a list `(declare ...)' containing the declarations.
3693The value the function returns is not used. */); 3693The value the function returns is not used. */);
3694 Vmacro_declaration_function = Qnil; 3694 Vmacro_declaration_function = Qnil;
3695 3695
3696 Vrun_hooks = intern ("run-hooks"); 3696 Vrun_hooks = intern_c_string ("run-hooks");
3697 staticpro (&Vrun_hooks); 3697 staticpro (&Vrun_hooks);
3698 3698
3699 staticpro (&Vautoload_queue); 3699 staticpro (&Vautoload_queue);