diff options
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/data.c b/src/data.c index ac4264d1415..3d2cd4a7332 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -79,6 +79,7 @@ Lisp_Object Qsetting_constant, Qinvalid_read_syntax; | |||
| 79 | Lisp_Object Qinvalid_function, Qwrong_number_of_arguments, Qno_catch; | 79 | Lisp_Object Qinvalid_function, Qwrong_number_of_arguments, Qno_catch; |
| 80 | Lisp_Object Qend_of_file, Qarith_error, Qmark_inactive; | 80 | Lisp_Object Qend_of_file, Qarith_error, Qmark_inactive; |
| 81 | Lisp_Object Qbeginning_of_buffer, Qend_of_buffer, Qbuffer_read_only; | 81 | Lisp_Object Qbeginning_of_buffer, Qend_of_buffer, Qbuffer_read_only; |
| 82 | Lisp_Object Qtext_read_only; | ||
| 82 | Lisp_Object Qintegerp, Qnatnump, Qwholenump, Qsymbolp, Qlistp, Qconsp; | 83 | Lisp_Object Qintegerp, Qnatnump, Qwholenump, Qsymbolp, Qlistp, Qconsp; |
| 83 | Lisp_Object Qstringp, Qarrayp, Qsequencep, Qbufferp; | 84 | Lisp_Object Qstringp, Qarrayp, Qsequencep, Qbufferp; |
| 84 | Lisp_Object Qchar_or_string_p, Qmarkerp, Qinteger_or_marker_p, Qvectorp; | 85 | Lisp_Object Qchar_or_string_p, Qmarkerp, Qinteger_or_marker_p, Qvectorp; |
| @@ -2590,6 +2591,7 @@ syms_of_data () | |||
| 2590 | Qbeginning_of_buffer = intern ("beginning-of-buffer"); | 2591 | Qbeginning_of_buffer = intern ("beginning-of-buffer"); |
| 2591 | Qend_of_buffer = intern ("end-of-buffer"); | 2592 | Qend_of_buffer = intern ("end-of-buffer"); |
| 2592 | Qbuffer_read_only = intern ("buffer-read-only"); | 2593 | Qbuffer_read_only = intern ("buffer-read-only"); |
| 2594 | Qtext_read_only = intern ("text-read-only"); | ||
| 2593 | Qmark_inactive = intern ("mark-inactive"); | 2595 | Qmark_inactive = intern ("mark-inactive"); |
| 2594 | 2596 | ||
| 2595 | Qlistp = intern ("listp"); | 2597 | Qlistp = intern ("listp"); |
| @@ -2715,6 +2717,11 @@ syms_of_data () | |||
| 2715 | Fput (Qbuffer_read_only, Qerror_message, | 2717 | Fput (Qbuffer_read_only, Qerror_message, |
| 2716 | build_string ("Buffer is read-only")); | 2718 | build_string ("Buffer is read-only")); |
| 2717 | 2719 | ||
| 2720 | Fput (Qtext_read_only, Qerror_conditions, | ||
| 2721 | Fcons (Qtext_read_only, error_tail)); | ||
| 2722 | Fput (Qtext_read_only, Qerror_message, | ||
| 2723 | build_string ("Text is read-only")); | ||
| 2724 | |||
| 2718 | #ifdef LISP_FLOAT_TYPE | 2725 | #ifdef LISP_FLOAT_TYPE |
| 2719 | Qrange_error = intern ("range-error"); | 2726 | Qrange_error = intern ("range-error"); |
| 2720 | Qdomain_error = intern ("domain-error"); | 2727 | Qdomain_error = intern ("domain-error"); |
| @@ -2781,6 +2788,7 @@ syms_of_data () | |||
| 2781 | staticpro (&Qbeginning_of_buffer); | 2788 | staticpro (&Qbeginning_of_buffer); |
| 2782 | staticpro (&Qend_of_buffer); | 2789 | staticpro (&Qend_of_buffer); |
| 2783 | staticpro (&Qbuffer_read_only); | 2790 | staticpro (&Qbuffer_read_only); |
| 2791 | staticpro (&Qtext_read_only); | ||
| 2784 | staticpro (&Qmark_inactive); | 2792 | staticpro (&Qmark_inactive); |
| 2785 | 2793 | ||
| 2786 | staticpro (&Qlistp); | 2794 | staticpro (&Qlistp); |