diff options
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; |