summaryrefslogtreecommitdiff
path: root/lisp/loadhist.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/loadhist.el')
-rw-r--r--lisp/loadhist.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/loadhist.el b/lisp/loadhist.el
index 8f29c5a8a71..23091d1f0f3 100644
--- a/lisp/loadhist.el
+++ b/lisp/loadhist.el
@@ -104,7 +104,7 @@ is nil, raise an error."
((fboundp x)
(fmakunbound x)
(let ((aload (get x 'autoload)))
- (if aload (fset x aload))))))
+ (if aload (fset x (cons 'autoload aload)))))))
)
(cdr flist))))