diff src/eval.c @ 28297:f37b25e59751

* eval.c (Fautoload): Add entry in load-history (if after dump). * lread.c (load-history): Update docstring.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 24 Mar 2000 20:25:16 +0000
parents 9ae3ef3133b8
children 55d5c0156349
line wrap: on
line diff
--- a/src/eval.c	Fri Mar 24 18:45:23 2000 +0000
+++ b/src/eval.c	Fri Mar 24 20:25:16 2000 +0000
@@ -1646,6 +1646,11 @@
 	   && 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;