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:
parent
2860be63dd
commit
c344d4be62
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user