changeset 39857:6235c0f8e52c

(substitute_object_recurse): Use traverse_intervals_noorder. (syms_of_lread) <Vafter_load_alist>: Update docstring.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 12 Oct 2001 22:07:35 +0000
parents 3fb9aba0cbd4
children 13bf107afa6d
files src/lread.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Fri Oct 12 22:06:10 2001 +0000
+++ b/src/lread.c	Fri Oct 12 22:07:35 2001 +0000
@@ -2480,8 +2480,8 @@
 	INTERVAL    root_interval = XSTRING (subtree)->intervals;
 	Lisp_Object arg           = Fcons (object, placeholder);
 	   
-	traverse_intervals (root_interval, 1, 0,
-			    &substitute_in_interval, arg); 
+	traverse_intervals_noorder (root_interval,
+				    &substitute_in_interval, arg);
 
 	return subtree;
       }
@@ -3563,7 +3563,9 @@
 FILENAME must match exactly!  Normally FILENAME is the name of a library,\n\
 with no directory specified, since that is how `load' is normally called.\n\
 An error in FORMS does not undo the load,\n\
-but does prevent execution of the rest of the FORMS.");
+but does prevent execution of the rest of the FORMS.\n\
+FILENAME can also be a symbol (a feature) and FORMS are then executed\n\
+when the corresponding call to `provide' is made.");
   Vafter_load_alist = Qnil;
 
   DEFVAR_LISP ("load-history", &Vload_history,