mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-22 13:40:44 -08:00
(unload-feature): When we come to (provide . FEATURE),
remove FEATURE from the features list.
This commit is contained in:
parent
2860be63dd
commit
c344d4be62
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue