diff options
| author | Eli Zaretskii | 2004-02-16 17:50:32 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2004-02-16 17:50:32 +0000 |
| commit | dffc4dfc5d0cffee98e8668f1be8b3ae1ed0588e (patch) | |
| tree | e7ce7caccdfeb568c78de678d010b1108eb82de0 | |
| parent | 0ca9aa8f072fa8fc581fd3f32d634e94cfc8a8ec (diff) | |
| download | emacs-dffc4dfc5d0cffee98e8668f1be8b3ae1ed0588e.tar.gz emacs-dffc4dfc5d0cffee98e8668f1be8b3ae1ed0588e.zip | |
(unload-hook-features-list): New defvar.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/loadhist.el | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c09e54747be..be15fffb6e5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2004-02-16 Eli Zaretskii <eliz@elta.co.il> | ||
| 2 | |||
| 3 | * loadhist.el (unload-hook-features-list): New defvar. | ||
| 4 | |||
| 1 | 2004-02-16 Dave Love <fx@gnu.org> | 5 | 2004-02-16 Dave Love <fx@gnu.org> |
| 2 | 6 | ||
| 3 | * loadhist.el (unload-feature): Doc fix. Rename flist to | 7 | * loadhist.el (unload-feature): Doc fix. Rename flist to |
diff --git a/lisp/loadhist.el b/lisp/loadhist.el index 80a59463d79..8cbe1d80cd3 100644 --- a/lisp/loadhist.el +++ b/lisp/loadhist.el | |||
| @@ -116,6 +116,12 @@ These are symbols with hook-type values whose names don't end in | |||
| 116 | `-hook' or `-hooks', from which `unload-feature' tries to remove | 116 | `-hook' or `-hooks', from which `unload-feature' tries to remove |
| 117 | pertinent symbols.") | 117 | pertinent symbols.") |
| 118 | 118 | ||
| 119 | (defvar unload-hook-features-list nil | ||
| 120 | "List of features of the package being unloaded. | ||
| 121 | |||
| 122 | This is meant to be used by FEATURE-unload-hook hooks, see the | ||
| 123 | documentation of `unload-feature' for details.") | ||
| 124 | |||
| 119 | ;;;###autoload | 125 | ;;;###autoload |
| 120 | (defun unload-feature (feature &optional force) | 126 | (defun unload-feature (feature &optional force) |
| 121 | "Unload the library that provided FEATURE, restoring all its autoloads. | 127 | "Unload the library that provided FEATURE, restoring all its autoloads. |