Mercurial > emacs
comparison src/lread.c @ 90201:fbb2bea03df9
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-69
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 474-484)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 88-91)
- Merge from emacs--cvs-trunk--0
- Update FSF's address in GPL notices
- Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 14 Jul 2005 08:02:00 +0000 |
parents | f9a65d7ebd29 05b076cad2f4 |
children | 187d6a1f84f7 |
comparison
equal
deleted
inserted
replaced
90200:f9a65d7ebd29 | 90201:fbb2bea03df9 |
---|---|
85 Lisp_Object Qread_char, Qget_file_char, Qstandard_input, Qcurrent_load_list; | 85 Lisp_Object Qread_char, Qget_file_char, Qstandard_input, Qcurrent_load_list; |
86 Lisp_Object Qvariable_documentation, Vvalues, Vstandard_input, Vafter_load_alist; | 86 Lisp_Object Qvariable_documentation, Vvalues, Vstandard_input, Vafter_load_alist; |
87 Lisp_Object Qascii_character, Qload, Qload_file_name; | 87 Lisp_Object Qascii_character, Qload, Qload_file_name; |
88 Lisp_Object Qbackquote, Qcomma, Qcomma_at, Qcomma_dot, Qfunction; | 88 Lisp_Object Qbackquote, Qcomma, Qcomma_at, Qcomma_dot, Qfunction; |
89 Lisp_Object Qinhibit_file_name_operation; | 89 Lisp_Object Qinhibit_file_name_operation; |
90 Lisp_Object Qeval_buffer_list, Veval_buffer_list; | |
90 | 91 |
91 /* Used instead of Qget_file_char while loading *.elc files compiled | 92 /* Used instead of Qget_file_char while loading *.elc files compiled |
92 by Emacs 21 or older. */ | 93 by Emacs 21 or older. */ |
93 static Lisp_Object Qget_emacs_mule_file_char; | 94 static Lisp_Object Qget_emacs_mule_file_char; |
94 | 95 |
1641 tem = printflag; | 1642 tem = printflag; |
1642 | 1643 |
1643 if (NILP (filename)) | 1644 if (NILP (filename)) |
1644 filename = XBUFFER (buf)->filename; | 1645 filename = XBUFFER (buf)->filename; |
1645 | 1646 |
1647 specbind (Qeval_buffer_list, Fcons (buf, Veval_buffer_list)); | |
1646 specbind (Qstandard_output, tem); | 1648 specbind (Qstandard_output, tem); |
1647 record_unwind_protect (save_excursion_restore, save_excursion_save ()); | 1649 record_unwind_protect (save_excursion_restore, save_excursion_save ()); |
1648 BUF_SET_PT (XBUFFER (buf), BUF_BEGV (XBUFFER (buf))); | 1650 BUF_SET_PT (XBUFFER (buf), BUF_BEGV (XBUFFER (buf))); |
1649 readevalloop (buf, 0, filename, Feval, | 1651 readevalloop (buf, 0, filename, Feval, |
1650 !NILP (printflag), unibyte, Qnil, Qnil, Qnil); | 1652 !NILP (printflag), unibyte, Qnil, Qnil, Qnil); |
1676 if (NILP (printflag)) | 1678 if (NILP (printflag)) |
1677 tem = Qsymbolp; | 1679 tem = Qsymbolp; |
1678 else | 1680 else |
1679 tem = printflag; | 1681 tem = printflag; |
1680 specbind (Qstandard_output, tem); | 1682 specbind (Qstandard_output, tem); |
1683 specbind (Qeval_buffer_list, Fcons (cbuf, Veval_buffer_list)); | |
1681 | 1684 |
1682 /* readevalloop calls functions which check the type of start and end. */ | 1685 /* readevalloop calls functions which check the type of start and end. */ |
1683 readevalloop (cbuf, 0, XBUFFER (cbuf)->filename, Feval, | 1686 readevalloop (cbuf, 0, XBUFFER (cbuf)->filename, Feval, |
1684 !NILP (printflag), Qnil, read_function, | 1687 !NILP (printflag), Qnil, read_function, |
1685 start, end); | 1688 start, end); |
4097 When the regular expression matches, the file is considered to be safe | 4100 When the regular expression matches, the file is considered to be safe |
4098 to load. See also `load-dangerous-libraries'. */); | 4101 to load. See also `load-dangerous-libraries'. */); |
4099 Vbytecomp_version_regexp | 4102 Vbytecomp_version_regexp |
4100 = build_string ("^;;;.\\(in Emacs version\\|bytecomp version FSF\\)"); | 4103 = build_string ("^;;;.\\(in Emacs version\\|bytecomp version FSF\\)"); |
4101 | 4104 |
4105 DEFVAR_LISP ("eval-buffer-list", &Veval_buffer_list, | |
4106 doc: /* List of buffers being read from by calls to `eval-buffer' and `eval-region'. */); | |
4107 Veval_buffer_list = Qnil; | |
4108 | |
4102 /* Vsource_directory was initialized in init_lread. */ | 4109 /* Vsource_directory was initialized in init_lread. */ |
4103 | 4110 |
4104 load_descriptor_list = Qnil; | 4111 load_descriptor_list = Qnil; |
4105 staticpro (&load_descriptor_list); | 4112 staticpro (&load_descriptor_list); |
4106 | 4113 |
4144 staticpro (&Qload); | 4151 staticpro (&Qload); |
4145 | 4152 |
4146 Qload_file_name = intern ("load-file-name"); | 4153 Qload_file_name = intern ("load-file-name"); |
4147 staticpro (&Qload_file_name); | 4154 staticpro (&Qload_file_name); |
4148 | 4155 |
4156 Qeval_buffer_list = intern ("eval-buffer-list"); | |
4157 staticpro (&Qeval_buffer_list); | |
4158 | |
4149 staticpro (&dump_path); | 4159 staticpro (&dump_path); |
4150 | 4160 |
4151 staticpro (&read_objects); | 4161 staticpro (&read_objects); |
4152 read_objects = Qnil; | 4162 read_objects = Qnil; |
4153 staticpro (&seen_list); | 4163 staticpro (&seen_list); |