diff options
| author | Dan Nicolaescu | 2009-11-06 06:50:52 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2009-11-06 06:50:52 +0000 |
| commit | d67b4f80dbe514d6e351e7d89c78921c85e7dbe7 (patch) | |
| tree | da83a5dc49e499e330365feaa8123709fdf0cc88 /src/data.c | |
| parent | 495bd5ca19cf79a9e91b77bf2e2ea37b8be3ef1f (diff) | |
| download | emacs-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/data.c')
| -rw-r--r-- | src/data.c | 276 |
1 files changed, 138 insertions, 138 deletions
diff --git a/src/data.c b/src/data.c index 6d469e161db..fc50658dd7c 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -2860,208 +2860,208 @@ syms_of_data () | |||
| 2860 | { | 2860 | { |
| 2861 | Lisp_Object error_tail, arith_tail; | 2861 | Lisp_Object error_tail, arith_tail; |
| 2862 | 2862 | ||
| 2863 | Qquote = intern ("quote"); | 2863 | Qquote = intern_c_string ("quote"); |
| 2864 | Qlambda = intern ("lambda"); | 2864 | Qlambda = intern_c_string ("lambda"); |
| 2865 | Qsubr = intern ("subr"); | 2865 | Qsubr = intern_c_string ("subr"); |
| 2866 | Qerror_conditions = intern ("error-conditions"); | 2866 | Qerror_conditions = intern_c_string ("error-conditions"); |
| 2867 | Qerror_message = intern ("error-message"); | 2867 | Qerror_message = intern_c_string ("error-message"); |
| 2868 | Qtop_level = intern ("top-level"); | 2868 | Qtop_level = intern_c_string ("top-level"); |
| 2869 | 2869 | ||
| 2870 | Qerror = intern ("error"); | 2870 | Qerror = intern_c_string ("error"); |
| 2871 | Qquit = intern ("quit"); | 2871 | Qquit = intern_c_string ("quit"); |
| 2872 | Qwrong_type_argument = intern ("wrong-type-argument"); | 2872 | Qwrong_type_argument = intern_c_string ("wrong-type-argument"); |
| 2873 | Qargs_out_of_range = intern ("args-out-of-range"); | 2873 | Qargs_out_of_range = intern_c_string ("args-out-of-range"); |
| 2874 | Qvoid_function = intern ("void-function"); | 2874 | Qvoid_function = intern_c_string ("void-function"); |
| 2875 | Qcyclic_function_indirection = intern ("cyclic-function-indirection"); | 2875 | Qcyclic_function_indirection = intern_c_string ("cyclic-function-indirection"); |
| 2876 | Qcyclic_variable_indirection = intern ("cyclic-variable-indirection"); | 2876 | Qcyclic_variable_indirection = intern_c_string ("cyclic-variable-indirection"); |
| 2877 | Qvoid_variable = intern ("void-variable"); | 2877 | Qvoid_variable = intern_c_string ("void-variable"); |
| 2878 | Qsetting_constant = intern ("setting-constant"); | 2878 | Qsetting_constant = intern_c_string ("setting-constant"); |
| 2879 | Qinvalid_read_syntax = intern ("invalid-read-syntax"); | 2879 | Qinvalid_read_syntax = intern_c_string ("invalid-read-syntax"); |
| 2880 | 2880 | ||
| 2881 | Qinvalid_function = intern ("invalid-function"); | 2881 | Qinvalid_function = intern_c_string ("invalid-function"); |
| 2882 | Qwrong_number_of_arguments = intern ("wrong-number-of-arguments"); | 2882 | Qwrong_number_of_arguments = intern_c_string ("wrong-number-of-arguments"); |
| 2883 | Qno_catch = intern ("no-catch"); | 2883 | Qno_catch = intern_c_string ("no-catch"); |
| 2884 | Qend_of_file = intern ("end-of-file"); | 2884 | Qend_of_file = intern_c_string ("end-of-file"); |
| 2885 | Qarith_error = intern ("arith-error"); | 2885 | Qarith_error = intern_c_string ("arith-error"); |
| 2886 | Qbeginning_of_buffer = intern ("beginning-of-buffer"); | 2886 | Qbeginning_of_buffer = intern_c_string ("beginning-of-buffer"); |
| 2887 | Qend_of_buffer = intern ("end-of-buffer"); | 2887 | Qend_of_buffer = intern_c_string ("end-of-buffer"); |
| 2888 | Qbuffer_read_only = intern ("buffer-read-only"); | 2888 | Qbuffer_read_only = intern_c_string ("buffer-read-only"); |
| 2889 | Qtext_read_only = intern ("text-read-only"); | 2889 | Qtext_read_only = intern_c_string ("text-read-only"); |
| 2890 | Qmark_inactive = intern ("mark-inactive"); | 2890 | Qmark_inactive = intern_c_string ("mark-inactive"); |
| 2891 | 2891 | ||
| 2892 | Qlistp = intern ("listp"); | 2892 | Qlistp = intern_c_string ("listp"); |
| 2893 | Qconsp = intern ("consp"); | 2893 | Qconsp = intern_c_string ("consp"); |
| 2894 | Qsymbolp = intern ("symbolp"); | 2894 | Qsymbolp = intern_c_string ("symbolp"); |
| 2895 | Qkeywordp = intern ("keywordp"); | 2895 | Qkeywordp = intern_c_string ("keywordp"); |
| 2896 | Qintegerp = intern ("integerp"); | 2896 | Qintegerp = intern_c_string ("integerp"); |
| 2897 | Qnatnump = intern ("natnump"); | 2897 | Qnatnump = intern_c_string ("natnump"); |
| 2898 | Qwholenump = intern ("wholenump"); | 2898 | Qwholenump = intern_c_string ("wholenump"); |
| 2899 | Qstringp = intern ("stringp"); | 2899 | Qstringp = intern_c_string ("stringp"); |
| 2900 | Qarrayp = intern ("arrayp"); | 2900 | Qarrayp = intern_c_string ("arrayp"); |
| 2901 | Qsequencep = intern ("sequencep"); | 2901 | Qsequencep = intern_c_string ("sequencep"); |
| 2902 | Qbufferp = intern ("bufferp"); | 2902 | Qbufferp = intern_c_string ("bufferp"); |
| 2903 | Qvectorp = intern ("vectorp"); | 2903 | Qvectorp = intern_c_string ("vectorp"); |
| 2904 | Qchar_or_string_p = intern ("char-or-string-p"); | 2904 | Qchar_or_string_p = intern_c_string ("char-or-string-p"); |
| 2905 | Qmarkerp = intern ("markerp"); | 2905 | Qmarkerp = intern_c_string ("markerp"); |
| 2906 | Qbuffer_or_string_p = intern ("buffer-or-string-p"); | 2906 | Qbuffer_or_string_p = intern_c_string ("buffer-or-string-p"); |
| 2907 | Qinteger_or_marker_p = intern ("integer-or-marker-p"); | 2907 | Qinteger_or_marker_p = intern_c_string ("integer-or-marker-p"); |
| 2908 | Qboundp = intern ("boundp"); | 2908 | Qboundp = intern_c_string ("boundp"); |
| 2909 | Qfboundp = intern ("fboundp"); | 2909 | Qfboundp = intern_c_string ("fboundp"); |
| 2910 | 2910 | ||
| 2911 | Qfloatp = intern ("floatp"); | 2911 | Qfloatp = intern_c_string ("floatp"); |
| 2912 | Qnumberp = intern ("numberp"); | 2912 | Qnumberp = intern_c_string ("numberp"); |
| 2913 | Qnumber_or_marker_p = intern ("number-or-marker-p"); | 2913 | Qnumber_or_marker_p = intern_c_string ("number-or-marker-p"); |
| 2914 | 2914 | ||
| 2915 | Qchar_table_p = intern ("char-table-p"); | 2915 | Qchar_table_p = intern_c_string ("char-table-p"); |
| 2916 | Qvector_or_char_table_p = intern ("vector-or-char-table-p"); | 2916 | Qvector_or_char_table_p = intern_c_string ("vector-or-char-table-p"); |
| 2917 | 2917 | ||
| 2918 | Qsubrp = intern ("subrp"); | 2918 | Qsubrp = intern_c_string ("subrp"); |
| 2919 | Qunevalled = intern ("unevalled"); | 2919 | Qunevalled = intern_c_string ("unevalled"); |
| 2920 | Qmany = intern ("many"); | 2920 | Qmany = intern_c_string ("many"); |
| 2921 | 2921 | ||
| 2922 | Qcdr = intern ("cdr"); | 2922 | Qcdr = intern_c_string ("cdr"); |
| 2923 | 2923 | ||
| 2924 | /* Handle automatic advice activation */ | 2924 | /* Handle automatic advice activation */ |
| 2925 | Qad_advice_info = intern ("ad-advice-info"); | 2925 | Qad_advice_info = intern_c_string ("ad-advice-info"); |
| 2926 | Qad_activate_internal = intern ("ad-activate-internal"); | 2926 | Qad_activate_internal = intern_c_string ("ad-activate-internal"); |
| 2927 | 2927 | ||
| 2928 | error_tail = Fcons (Qerror, Qnil); | 2928 | error_tail = pure_cons (Qerror, Qnil); |
| 2929 | 2929 | ||
| 2930 | /* ERROR is used as a signaler for random errors for which nothing else is right */ | 2930 | /* ERROR is used as a signaler for random errors for which nothing else is right */ |
| 2931 | 2931 | ||
| 2932 | Fput (Qerror, Qerror_conditions, | 2932 | Fput (Qerror, Qerror_conditions, |
| 2933 | error_tail); | 2933 | error_tail); |
| 2934 | Fput (Qerror, Qerror_message, | 2934 | Fput (Qerror, Qerror_message, |
| 2935 | build_string ("error")); | 2935 | make_pure_c_string ("error")); |
| 2936 | 2936 | ||
| 2937 | Fput (Qquit, Qerror_conditions, | 2937 | Fput (Qquit, Qerror_conditions, |
| 2938 | Fcons (Qquit, Qnil)); | 2938 | pure_cons (Qquit, Qnil)); |
| 2939 | Fput (Qquit, Qerror_message, | 2939 | Fput (Qquit, Qerror_message, |
| 2940 | build_string ("Quit")); | 2940 | make_pure_c_string ("Quit")); |
| 2941 | 2941 | ||
| 2942 | Fput (Qwrong_type_argument, Qerror_conditions, | 2942 | Fput (Qwrong_type_argument, Qerror_conditions, |
| 2943 | Fcons (Qwrong_type_argument, error_tail)); | 2943 | pure_cons (Qwrong_type_argument, error_tail)); |
| 2944 | Fput (Qwrong_type_argument, Qerror_message, | 2944 | Fput (Qwrong_type_argument, Qerror_message, |
| 2945 | build_string ("Wrong type argument")); | 2945 | make_pure_c_string ("Wrong type argument")); |
| 2946 | 2946 | ||
| 2947 | Fput (Qargs_out_of_range, Qerror_conditions, | 2947 | Fput (Qargs_out_of_range, Qerror_conditions, |
| 2948 | Fcons (Qargs_out_of_range, error_tail)); | 2948 | pure_cons (Qargs_out_of_range, error_tail)); |
| 2949 | Fput (Qargs_out_of_range, Qerror_message, | 2949 | Fput (Qargs_out_of_range, Qerror_message, |
| 2950 | build_string ("Args out of range")); | 2950 | make_pure_c_string ("Args out of range")); |
| 2951 | 2951 | ||
| 2952 | Fput (Qvoid_function, Qerror_conditions, | 2952 | Fput (Qvoid_function, Qerror_conditions, |
| 2953 | Fcons (Qvoid_function, error_tail)); | 2953 | pure_cons (Qvoid_function, error_tail)); |
| 2954 | Fput (Qvoid_function, Qerror_message, | 2954 | Fput (Qvoid_function, Qerror_message, |
| 2955 | build_string ("Symbol's function definition is void")); | 2955 | make_pure_c_string ("Symbol's function definition is void")); |
| 2956 | 2956 | ||
| 2957 | Fput (Qcyclic_function_indirection, Qerror_conditions, | 2957 | Fput (Qcyclic_function_indirection, Qerror_conditions, |
| 2958 | Fcons (Qcyclic_function_indirection, error_tail)); | 2958 | pure_cons (Qcyclic_function_indirection, error_tail)); |
| 2959 | Fput (Qcyclic_function_indirection, Qerror_message, | 2959 | Fput (Qcyclic_function_indirection, Qerror_message, |
| 2960 | build_string ("Symbol's chain of function indirections contains a loop")); | 2960 | make_pure_c_string ("Symbol's chain of function indirections contains a loop")); |
| 2961 | 2961 | ||
| 2962 | Fput (Qcyclic_variable_indirection, Qerror_conditions, | 2962 | Fput (Qcyclic_variable_indirection, Qerror_conditions, |
| 2963 | Fcons (Qcyclic_variable_indirection, error_tail)); | 2963 | pure_cons (Qcyclic_variable_indirection, error_tail)); |
| 2964 | Fput (Qcyclic_variable_indirection, Qerror_message, | 2964 | Fput (Qcyclic_variable_indirection, Qerror_message, |
| 2965 | build_string ("Symbol's chain of variable indirections contains a loop")); | 2965 | make_pure_c_string ("Symbol's chain of variable indirections contains a loop")); |
| 2966 | 2966 | ||
| 2967 | Qcircular_list = intern ("circular-list"); | 2967 | Qcircular_list = intern_c_string ("circular-list"); |
| 2968 | staticpro (&Qcircular_list); | 2968 | staticpro (&Qcircular_list); |
| 2969 | Fput (Qcircular_list, Qerror_conditions, | 2969 | Fput (Qcircular_list, Qerror_conditions, |
| 2970 | Fcons (Qcircular_list, error_tail)); | 2970 | pure_cons (Qcircular_list, error_tail)); |
| 2971 | Fput (Qcircular_list, Qerror_message, | 2971 | Fput (Qcircular_list, Qerror_message, |
| 2972 | build_string ("List contains a loop")); | 2972 | make_pure_c_string ("List contains a loop")); |
| 2973 | 2973 | ||
| 2974 | Fput (Qvoid_variable, Qerror_conditions, | 2974 | Fput (Qvoid_variable, Qerror_conditions, |
| 2975 | Fcons (Qvoid_variable, error_tail)); | 2975 | pure_cons (Qvoid_variable, error_tail)); |
| 2976 | Fput (Qvoid_variable, Qerror_message, | 2976 | Fput (Qvoid_variable, Qerror_message, |
| 2977 | build_string ("Symbol's value as variable is void")); | 2977 | make_pure_c_string ("Symbol's value as variable is void")); |
| 2978 | 2978 | ||
| 2979 | Fput (Qsetting_constant, Qerror_conditions, | 2979 | Fput (Qsetting_constant, Qerror_conditions, |
| 2980 | Fcons (Qsetting_constant, error_tail)); | 2980 | pure_cons (Qsetting_constant, error_tail)); |
| 2981 | Fput (Qsetting_constant, Qerror_message, | 2981 | Fput (Qsetting_constant, Qerror_message, |
| 2982 | build_string ("Attempt to set a constant symbol")); | 2982 | make_pure_c_string ("Attempt to set a constant symbol")); |
| 2983 | 2983 | ||
| 2984 | Fput (Qinvalid_read_syntax, Qerror_conditions, | 2984 | Fput (Qinvalid_read_syntax, Qerror_conditions, |
| 2985 | Fcons (Qinvalid_read_syntax, error_tail)); | 2985 | pure_cons (Qinvalid_read_syntax, error_tail)); |
| 2986 | Fput (Qinvalid_read_syntax, Qerror_message, | 2986 | Fput (Qinvalid_read_syntax, Qerror_message, |
| 2987 | build_string ("Invalid read syntax")); | 2987 | make_pure_c_string ("Invalid read syntax")); |
| 2988 | 2988 | ||
| 2989 | Fput (Qinvalid_function, Qerror_conditions, | 2989 | Fput (Qinvalid_function, Qerror_conditions, |
| 2990 | Fcons (Qinvalid_function, error_tail)); | 2990 | pure_cons (Qinvalid_function, error_tail)); |
| 2991 | Fput (Qinvalid_function, Qerror_message, | 2991 | Fput (Qinvalid_function, Qerror_message, |
| 2992 | build_string ("Invalid function")); | 2992 | make_pure_c_string ("Invalid function")); |
| 2993 | 2993 | ||
| 2994 | Fput (Qwrong_number_of_arguments, Qerror_conditions, | 2994 | Fput (Qwrong_number_of_arguments, Qerror_conditions, |
| 2995 | Fcons (Qwrong_number_of_arguments, error_tail)); | 2995 | pure_cons (Qwrong_number_of_arguments, error_tail)); |
| 2996 | Fput (Qwrong_number_of_arguments, Qerror_message, | 2996 | Fput (Qwrong_number_of_arguments, Qerror_message, |
| 2997 | build_string ("Wrong number of arguments")); | 2997 | make_pure_c_string ("Wrong number of arguments")); |
| 2998 | 2998 | ||
| 2999 | Fput (Qno_catch, Qerror_conditions, | 2999 | Fput (Qno_catch, Qerror_conditions, |
| 3000 | Fcons (Qno_catch, error_tail)); | 3000 | pure_cons (Qno_catch, error_tail)); |
| 3001 | Fput (Qno_catch, Qerror_message, | 3001 | Fput (Qno_catch, Qerror_message, |
| 3002 | build_string ("No catch for tag")); | 3002 | make_pure_c_string ("No catch for tag")); |
| 3003 | 3003 | ||
| 3004 | Fput (Qend_of_file, Qerror_conditions, | 3004 | Fput (Qend_of_file, Qerror_conditions, |
| 3005 | Fcons (Qend_of_file, error_tail)); | 3005 | pure_cons (Qend_of_file, error_tail)); |
| 3006 | Fput (Qend_of_file, Qerror_message, | 3006 | Fput (Qend_of_file, Qerror_message, |
| 3007 | build_string ("End of file during parsing")); | 3007 | make_pure_c_string ("End of file during parsing")); |
| 3008 | 3008 | ||
| 3009 | arith_tail = Fcons (Qarith_error, error_tail); | 3009 | arith_tail = pure_cons (Qarith_error, error_tail); |
| 3010 | Fput (Qarith_error, Qerror_conditions, | 3010 | Fput (Qarith_error, Qerror_conditions, |
| 3011 | arith_tail); | 3011 | arith_tail); |
| 3012 | Fput (Qarith_error, Qerror_message, | 3012 | Fput (Qarith_error, Qerror_message, |
| 3013 | build_string ("Arithmetic error")); | 3013 | make_pure_c_string ("Arithmetic error")); |
| 3014 | 3014 | ||
| 3015 | Fput (Qbeginning_of_buffer, Qerror_conditions, | 3015 | Fput (Qbeginning_of_buffer, Qerror_conditions, |
| 3016 | Fcons (Qbeginning_of_buffer, error_tail)); | 3016 | pure_cons (Qbeginning_of_buffer, error_tail)); |
| 3017 | Fput (Qbeginning_of_buffer, Qerror_message, | 3017 | Fput (Qbeginning_of_buffer, Qerror_message, |
| 3018 | build_string ("Beginning of buffer")); | 3018 | make_pure_c_string ("Beginning of buffer")); |
| 3019 | 3019 | ||
| 3020 | Fput (Qend_of_buffer, Qerror_conditions, | 3020 | Fput (Qend_of_buffer, Qerror_conditions, |
| 3021 | Fcons (Qend_of_buffer, error_tail)); | 3021 | pure_cons (Qend_of_buffer, error_tail)); |
| 3022 | Fput (Qend_of_buffer, Qerror_message, | 3022 | Fput (Qend_of_buffer, Qerror_message, |
| 3023 | build_string ("End of buffer")); | 3023 | make_pure_c_string ("End of buffer")); |
| 3024 | 3024 | ||
| 3025 | Fput (Qbuffer_read_only, Qerror_conditions, | 3025 | Fput (Qbuffer_read_only, Qerror_conditions, |
| 3026 | Fcons (Qbuffer_read_only, error_tail)); | 3026 | pure_cons (Qbuffer_read_only, error_tail)); |
| 3027 | Fput (Qbuffer_read_only, Qerror_message, | 3027 | Fput (Qbuffer_read_only, Qerror_message, |
| 3028 | build_string ("Buffer is read-only")); | 3028 | make_pure_c_string ("Buffer is read-only")); |
| 3029 | 3029 | ||
| 3030 | Fput (Qtext_read_only, Qerror_conditions, | 3030 | Fput (Qtext_read_only, Qerror_conditions, |
| 3031 | Fcons (Qtext_read_only, error_tail)); | 3031 | pure_cons (Qtext_read_only, error_tail)); |
| 3032 | Fput (Qtext_read_only, Qerror_message, | 3032 | Fput (Qtext_read_only, Qerror_message, |
| 3033 | build_string ("Text is read-only")); | 3033 | make_pure_c_string ("Text is read-only")); |
| 3034 | 3034 | ||
| 3035 | Qrange_error = intern ("range-error"); | 3035 | Qrange_error = intern_c_string ("range-error"); |
| 3036 | Qdomain_error = intern ("domain-error"); | 3036 | Qdomain_error = intern_c_string ("domain-error"); |
| 3037 | Qsingularity_error = intern ("singularity-error"); | 3037 | Qsingularity_error = intern_c_string ("singularity-error"); |
| 3038 | Qoverflow_error = intern ("overflow-error"); | 3038 | Qoverflow_error = intern_c_string ("overflow-error"); |
| 3039 | Qunderflow_error = intern ("underflow-error"); | 3039 | Qunderflow_error = intern_c_string ("underflow-error"); |
| 3040 | 3040 | ||
| 3041 | Fput (Qdomain_error, Qerror_conditions, | 3041 | Fput (Qdomain_error, Qerror_conditions, |
| 3042 | Fcons (Qdomain_error, arith_tail)); | 3042 | pure_cons (Qdomain_error, arith_tail)); |
| 3043 | Fput (Qdomain_error, Qerror_message, | 3043 | Fput (Qdomain_error, Qerror_message, |
| 3044 | build_string ("Arithmetic domain error")); | 3044 | make_pure_c_string ("Arithmetic domain error")); |
| 3045 | 3045 | ||
| 3046 | Fput (Qrange_error, Qerror_conditions, | 3046 | Fput (Qrange_error, Qerror_conditions, |
| 3047 | Fcons (Qrange_error, arith_tail)); | 3047 | pure_cons (Qrange_error, arith_tail)); |
| 3048 | Fput (Qrange_error, Qerror_message, | 3048 | Fput (Qrange_error, Qerror_message, |
| 3049 | build_string ("Arithmetic range error")); | 3049 | make_pure_c_string ("Arithmetic range error")); |
| 3050 | 3050 | ||
| 3051 | Fput (Qsingularity_error, Qerror_conditions, | 3051 | Fput (Qsingularity_error, Qerror_conditions, |
| 3052 | Fcons (Qsingularity_error, Fcons (Qdomain_error, arith_tail))); | 3052 | pure_cons (Qsingularity_error, Fcons (Qdomain_error, arith_tail))); |
| 3053 | Fput (Qsingularity_error, Qerror_message, | 3053 | Fput (Qsingularity_error, Qerror_message, |
| 3054 | build_string ("Arithmetic singularity error")); | 3054 | make_pure_c_string ("Arithmetic singularity error")); |
| 3055 | 3055 | ||
| 3056 | Fput (Qoverflow_error, Qerror_conditions, | 3056 | Fput (Qoverflow_error, Qerror_conditions, |
| 3057 | Fcons (Qoverflow_error, Fcons (Qdomain_error, arith_tail))); | 3057 | pure_cons (Qoverflow_error, Fcons (Qdomain_error, arith_tail))); |
| 3058 | Fput (Qoverflow_error, Qerror_message, | 3058 | Fput (Qoverflow_error, Qerror_message, |
| 3059 | build_string ("Arithmetic overflow error")); | 3059 | make_pure_c_string ("Arithmetic overflow error")); |
| 3060 | 3060 | ||
| 3061 | Fput (Qunderflow_error, Qerror_conditions, | 3061 | Fput (Qunderflow_error, Qerror_conditions, |
| 3062 | Fcons (Qunderflow_error, Fcons (Qdomain_error, arith_tail))); | 3062 | pure_cons (Qunderflow_error, Fcons (Qdomain_error, arith_tail))); |
| 3063 | Fput (Qunderflow_error, Qerror_message, | 3063 | Fput (Qunderflow_error, Qerror_message, |
| 3064 | build_string ("Arithmetic underflow error")); | 3064 | make_pure_c_string ("Arithmetic underflow error")); |
| 3065 | 3065 | ||
| 3066 | staticpro (&Qrange_error); | 3066 | staticpro (&Qrange_error); |
| 3067 | staticpro (&Qdomain_error); | 3067 | staticpro (&Qdomain_error); |
| @@ -3132,24 +3132,24 @@ syms_of_data () | |||
| 3132 | staticpro (&Qad_activate_internal); | 3132 | staticpro (&Qad_activate_internal); |
| 3133 | 3133 | ||
| 3134 | /* Types that type-of returns. */ | 3134 | /* Types that type-of returns. */ |
| 3135 | Qinteger = intern ("integer"); | 3135 | Qinteger = intern_c_string ("integer"); |
| 3136 | Qsymbol = intern ("symbol"); | 3136 | Qsymbol = intern_c_string ("symbol"); |
| 3137 | Qstring = intern ("string"); | 3137 | Qstring = intern_c_string ("string"); |
| 3138 | Qcons = intern ("cons"); | 3138 | Qcons = intern_c_string ("cons"); |
| 3139 | Qmarker = intern ("marker"); | 3139 | Qmarker = intern_c_string ("marker"); |
| 3140 | Qoverlay = intern ("overlay"); | 3140 | Qoverlay = intern_c_string ("overlay"); |
| 3141 | Qfloat = intern ("float"); | 3141 | Qfloat = intern_c_string ("float"); |
| 3142 | Qwindow_configuration = intern ("window-configuration"); | 3142 | Qwindow_configuration = intern_c_string ("window-configuration"); |
| 3143 | Qprocess = intern ("process"); | 3143 | Qprocess = intern_c_string ("process"); |
| 3144 | Qwindow = intern ("window"); | 3144 | Qwindow = intern_c_string ("window"); |
| 3145 | /* Qsubr = intern ("subr"); */ | 3145 | /* Qsubr = intern_c_string ("subr"); */ |
| 3146 | Qcompiled_function = intern ("compiled-function"); | 3146 | Qcompiled_function = intern_c_string ("compiled-function"); |
| 3147 | Qbuffer = intern ("buffer"); | 3147 | Qbuffer = intern_c_string ("buffer"); |
| 3148 | Qframe = intern ("frame"); | 3148 | Qframe = intern_c_string ("frame"); |
| 3149 | Qvector = intern ("vector"); | 3149 | Qvector = intern_c_string ("vector"); |
| 3150 | Qchar_table = intern ("char-table"); | 3150 | Qchar_table = intern_c_string ("char-table"); |
| 3151 | Qbool_vector = intern ("bool-vector"); | 3151 | Qbool_vector = intern_c_string ("bool-vector"); |
| 3152 | Qhash_table = intern ("hash-table"); | 3152 | Qhash_table = intern_c_string ("hash-table"); |
| 3153 | 3153 | ||
| 3154 | DEFSYM (Qfont_spec, "font-spec"); | 3154 | DEFSYM (Qfont_spec, "font-spec"); |
| 3155 | DEFSYM (Qfont_entity, "font-entity"); | 3155 | DEFSYM (Qfont_entity, "font-entity"); |
| @@ -3276,12 +3276,12 @@ syms_of_data () | |||
| 3276 | DEFVAR_LISP ("most-positive-fixnum", &Vmost_positive_fixnum, | 3276 | DEFVAR_LISP ("most-positive-fixnum", &Vmost_positive_fixnum, |
| 3277 | doc: /* The largest value that is representable in a Lisp integer. */); | 3277 | doc: /* The largest value that is representable in a Lisp integer. */); |
| 3278 | Vmost_positive_fixnum = make_number (MOST_POSITIVE_FIXNUM); | 3278 | Vmost_positive_fixnum = make_number (MOST_POSITIVE_FIXNUM); |
| 3279 | XSYMBOL (intern ("most-positive-fixnum"))->constant = 1; | 3279 | XSYMBOL (intern_c_string ("most-positive-fixnum"))->constant = 1; |
| 3280 | 3280 | ||
| 3281 | DEFVAR_LISP ("most-negative-fixnum", &Vmost_negative_fixnum, | 3281 | DEFVAR_LISP ("most-negative-fixnum", &Vmost_negative_fixnum, |
| 3282 | doc: /* The smallest value that is representable in a Lisp integer. */); | 3282 | doc: /* The smallest value that is representable in a Lisp integer. */); |
| 3283 | Vmost_negative_fixnum = make_number (MOST_NEGATIVE_FIXNUM); | 3283 | Vmost_negative_fixnum = make_number (MOST_NEGATIVE_FIXNUM); |
| 3284 | XSYMBOL (intern ("most-negative-fixnum"))->constant = 1; | 3284 | XSYMBOL (intern_c_string ("most-negative-fixnum"))->constant = 1; |
| 3285 | } | 3285 | } |
| 3286 | 3286 | ||
| 3287 | SIGTYPE | 3287 | SIGTYPE |