(elp-unload-hook): New function.

This commit is contained in:
Dave Love 2000-10-31 12:05:34 +00:00
parent 3eef341ac1
commit 4edc4a39e6
2 changed files with 9 additions and 0 deletions

View file

@ -39,6 +39,12 @@
* progmodes/cc-menus.el (imenu-generic-expression)
(imenu-progress-message): Only defvar when compiling.
* emacs-lisp/elp.el (elp-unload-hook): New function.
* loadhist.el (unload-feature): Call elp-restore-function,
checking for symbols; don't use elp-restore-all.
(loadhist-hook-functions): Doc fix.
2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
* log-edit.el (log-edit-confirm): Fix the default.

View file

@ -577,6 +577,9 @@ displayed."
;; reset profiling info if desired
(and elp-reset-after-results
(elp-reset-all))))
(defun elp-unload-hook ()
(elp-restore-all))
(provide 'elp)