aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2000-03-24 20:25:34 +0000
committerStefan Monnier2000-03-24 20:25:34 +0000
commit7973e637e40b667bcad19c113b609741a587df63 (patch)
treeefa0c0c95759f0f867c193ed0aa183271cb99919 /src
parentc7dcadb5cad70a5cb422aec4e18e9653727d02dd (diff)
downloademacs-7973e637e40b667bcad19c113b609741a587df63.tar.gz
emacs-7973e637e40b667bcad19c113b609741a587df63.zip
* eval.c (Fautoload): Add entry in load-history (if after dump).
* lread.c (load-history): Update docstring.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/eval.c5
-rw-r--r--src/lread.c3
3 files changed, 12 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f683aaa0bf8..a87dc76cb90 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12000-03-24 Stefan Monnier <monnier@cs.yale.edu>
2
3 * eval.c (Fautoload): Add entry in load-history (if after dump).
4 * lread.c (load-history): Update docstring.
5
12000-03-24 Gerd Moellmann <gerd@gnu.org> 62000-03-24 Gerd Moellmann <gerd@gnu.org>
2 7
3 * indent.c (Fvertical_motion): Always use the current buffer. 8 * indent.c (Fvertical_motion): Always use the current buffer.
diff --git a/src/eval.c b/src/eval.c
index 7034f43ca5a..0e39af5ba35 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1646,6 +1646,11 @@ this does nothing and returns nil.")
1646 && EQ (XCAR (XSYMBOL (function)->function), Qautoload))) 1646 && EQ (XCAR (XSYMBOL (function)->function), Qautoload)))
1647 return Qnil; 1647 return Qnil;
1648 1648
1649 if (NILP (Vpurify_flag))
1650 /* Only add entries after dumping, because the ones before are
1651 not useful and else we get loads of them from the loaddefs.el. */
1652 LOADHIST_ATTACH (Fcons (Qautoload, function));
1653
1649#ifdef NO_ARG_ARRAY 1654#ifdef NO_ARG_ARRAY
1650 args[0] = file; 1655 args[0] = file;
1651 args[1] = docstring; 1656 args[1] = docstring;
diff --git a/src/lread.c b/src/lread.c
index 4aa115ac92b..e3521934f42 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -3433,7 +3433,8 @@ Each alist element is a list that starts with a file name,\n\
3433except for one element (optional) that starts with nil and describes\n\ 3433except for one element (optional) that starts with nil and describes\n\
3434definitions evaluated from buffers not visiting files.\n\ 3434definitions evaluated from buffers not visiting files.\n\
3435The remaining elements of each list are symbols defined as functions\n\ 3435The remaining elements of each list are symbols defined as functions\n\
3436or variables, and cons cells `(provide . FEATURE)' and `(require . FEATURE)'."); 3436or variables, and cons cells `(provide . FEATURE)', `(require . FEATURE)',
3437and `(autoload . SYMBOL)'.");
3437 Vload_history = Qnil; 3438 Vload_history = Qnil;
3438 3439
3439 DEFVAR_LISP ("load-file-name", &Vload_file_name, 3440 DEFVAR_LISP ("load-file-name", &Vload_file_name,