diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-03-24 20:25:34 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-03-24 20:25:34 +0000 |
commit | 7973e637e40b667bcad19c113b609741a587df63 (patch) | |
tree | efa0c0c95759f0f867c193ed0aa183271cb99919 /src/eval.c | |
parent | c7dcadb5cad70a5cb422aec4e18e9653727d02dd (diff) | |
download | emacs-7973e637e40b667bcad19c113b609741a587df63.tar.gz |
* eval.c (Fautoload): Add entry in load-history (if after dump).
* lread.c (load-history): Update docstring.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 5 |
1 files changed, 5 insertions, 0 deletions
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.") && EQ (XCAR (XSYMBOL (function)->function), Qautoload))) return Qnil; + if (NILP (Vpurify_flag)) + /* Only add entries after dumping, because the ones before are + not useful and else we get loads of them from the loaddefs.el. */ + LOADHIST_ATTACH (Fcons (Qautoload, function)); + #ifdef NO_ARG_ARRAY args[0] = file; args[1] = docstring; |