(unload-hook-features-list): New defvar.

This commit is contained in:
Eli Zaretskii 2004-02-16 17:50:32 +00:00
parent 0ca9aa8f07
commit dffc4dfc5d
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2004-02-16 Eli Zaretskii <eliz@elta.co.il>
* loadhist.el (unload-hook-features-list): New defvar.
2004-02-16 Dave Love <fx@gnu.org>
* loadhist.el (unload-feature): Doc fix. Rename flist to

View file

@ -116,6 +116,12 @@ These are symbols with hook-type values whose names don't end in
`-hook' or `-hooks', from which `unload-feature' tries to remove
pertinent symbols.")
(defvar unload-hook-features-list nil
"List of features of the package being unloaded.
This is meant to be used by FEATURE-unload-hook hooks, see the
documentation of `unload-feature' for details.")
;;;###autoload
(defun unload-feature (feature &optional force)
"Unload the library that provided FEATURE, restoring all its autoloads.