1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

(unload-feature): When we come to (provide . FEATURE),

remove FEATURE from the features list.
This commit is contained in:
Karl Heuer 1995-05-18 16:51:35 +00:00
parent 2860be63dd
commit c344d4be62

View File

@ -118,7 +118,10 @@ is nil, raise an error."
(mapcar
(function (lambda (x)
(cond ((stringp x) nil)
((consp x) nil)
((consp x)
;; Remove any feature names that this file provided.
(if (eq (car x) 'provide)
(setq features (delq (cdr x) features))))
((boundp x) (makunbound x))
((fboundp x)
(fmakunbound x)