aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2001-10-12 22:07:35 +0000
committerStefan Monnier2001-10-12 22:07:35 +0000
commit0d74b0068628778a8c52f2f21bf602444b7520b7 (patch)
treeaa13daae3e14c61c8f258bba26b768adaf39d5df /src
parent8bbfc258014df9552543ea74b770dbdc2b90540e (diff)
downloademacs-0d74b0068628778a8c52f2f21bf602444b7520b7.tar.gz
emacs-0d74b0068628778a8c52f2f21bf602444b7520b7.zip
(substitute_object_recurse): Use traverse_intervals_noorder.
(syms_of_lread) <Vafter_load_alist>: Update docstring.
Diffstat (limited to 'src')
-rw-r--r--src/lread.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lread.c b/src/lread.c
index f5cff736c2b..671305c6f93 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -2480,8 +2480,8 @@ substitute_object_recurse (object, placeholder, subtree)
2480 INTERVAL root_interval = XSTRING (subtree)->intervals; 2480 INTERVAL root_interval = XSTRING (subtree)->intervals;
2481 Lisp_Object arg = Fcons (object, placeholder); 2481 Lisp_Object arg = Fcons (object, placeholder);
2482 2482
2483 traverse_intervals (root_interval, 1, 0, 2483 traverse_intervals_noorder (root_interval,
2484 &substitute_in_interval, arg); 2484 &substitute_in_interval, arg);
2485 2485
2486 return subtree; 2486 return subtree;
2487 } 2487 }
@@ -3563,7 +3563,9 @@ the FORMS in the corresponding element are executed at the end of loading.\n\n\
3563FILENAME must match exactly! Normally FILENAME is the name of a library,\n\ 3563FILENAME must match exactly! Normally FILENAME is the name of a library,\n\
3564with no directory specified, since that is how `load' is normally called.\n\ 3564with no directory specified, since that is how `load' is normally called.\n\
3565An error in FORMS does not undo the load,\n\ 3565An error in FORMS does not undo the load,\n\
3566but does prevent execution of the rest of the FORMS."); 3566but does prevent execution of the rest of the FORMS.\n\
3567FILENAME can also be a symbol (a feature) and FORMS are then executed\n\
3568when the corresponding call to `provide' is made.");
3567 Vafter_load_alist = Qnil; 3569 Vafter_load_alist = Qnil;
3568 3570
3569 DEFVAR_LISP ("load-history", &Vload_history, 3571 DEFVAR_LISP ("load-history", &Vload_history,