comparison src/lread.c @ 91005:424b655804ca

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 846-851) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 88-92) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 242-244) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-246
author Miles Bader <miles@gnu.org>
date Mon, 13 Aug 2007 13:48:35 +0000
parents 539530fa389c e5a68f18fcb9
children b83d0dadb2a7
comparison
equal deleted inserted replaced
91004:f72cf5b2ab11 91005:424b655804ca
99 static Lisp_Object Qload_force_doc_strings; 99 static Lisp_Object Qload_force_doc_strings;
100 100
101 extern Lisp_Object Qevent_symbol_element_mask; 101 extern Lisp_Object Qevent_symbol_element_mask;
102 extern Lisp_Object Qfile_exists_p; 102 extern Lisp_Object Qfile_exists_p;
103 103
104 /* non-zero iff inside `load' */ 104 /* non-zero if inside `load' */
105 int load_in_progress; 105 int load_in_progress;
106 106
107 /* Directory in which the sources were found. */ 107 /* Directory in which the sources were found. */
108 Lisp_Object Vsource_directory; 108 Lisp_Object Vsource_directory;
109 109
1322 /* Search for a file whose name is STR, looking in directories 1322 /* Search for a file whose name is STR, looking in directories
1323 in the Lisp list PATH, and trying suffixes from SUFFIX. 1323 in the Lisp list PATH, and trying suffixes from SUFFIX.
1324 On success, returns a file descriptor. On failure, returns -1. 1324 On success, returns a file descriptor. On failure, returns -1.
1325 1325
1326 SUFFIXES is a list of strings containing possible suffixes. 1326 SUFFIXES is a list of strings containing possible suffixes.
1327 The empty suffix is automatically added iff the list is empty. 1327 The empty suffix is automatically added if the list is empty.
1328 1328
1329 PREDICATE non-nil means don't open the files, 1329 PREDICATE non-nil means don't open the files,
1330 just look for one that satisfies the predicate. In this case, 1330 just look for one that satisfies the predicate. In this case,
1331 returns 1 on success. The predicate can be a lisp function or 1331 returns 1 on success. The predicate can be a lisp function or
1332 an integer to pass to `access' (in which case file-name-handlers 1332 an integer to pass to `access' (in which case file-name-handlers
4206 the loading functions recognize as compression suffixes, you should 4206 the loading functions recognize as compression suffixes, you should
4207 customize `jka-compr-load-suffixes' rather than the present variable. */); 4207 customize `jka-compr-load-suffixes' rather than the present variable. */);
4208 Vload_file_rep_suffixes = Fcons (empty_unibyte_string, Qnil); 4208 Vload_file_rep_suffixes = Fcons (empty_unibyte_string, Qnil);
4209 4209
4210 DEFVAR_BOOL ("load-in-progress", &load_in_progress, 4210 DEFVAR_BOOL ("load-in-progress", &load_in_progress,
4211 doc: /* Non-nil iff inside of `load'. */); 4211 doc: /* Non-nil if inside of `load'. */);
4212 4212
4213 DEFVAR_LISP ("after-load-alist", &Vafter_load_alist, 4213 DEFVAR_LISP ("after-load-alist", &Vafter_load_alist,
4214 doc: /* An alist of expressions to be evalled when particular files are loaded. 4214 doc: /* An alist of expressions to be evalled when particular files are loaded.
4215 Each element looks like (REGEXP-OR-FEATURE FORMS...). 4215 Each element looks like (REGEXP-OR-FEATURE FORMS...).
4216 4216