aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/loadhist.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/loadhist.el b/lisp/loadhist.el
index d541a701405..2a62ab51b0d 100644
--- a/lisp/loadhist.el
+++ b/lisp/loadhist.el
@@ -118,7 +118,10 @@ is nil, raise an error."
118 (mapcar 118 (mapcar
119 (function (lambda (x) 119 (function (lambda (x)
120 (cond ((stringp x) nil) 120 (cond ((stringp x) nil)
121 ((consp x) nil) 121 ((consp x)
122 ;; Remove any feature names that this file provided.
123 (if (eq (car x) 'provide)
124 (setq features (delq (cdr x) features))))
122 ((boundp x) (makunbound x)) 125 ((boundp x) (makunbound x))
123 ((fboundp x) 126 ((fboundp x)
124 (fmakunbound x) 127 (fmakunbound x)