changeset 33095:ef9eb0f5f0b6

(elp-unload-hook): New function.
author Dave Love <fx@gnu.org>
date Tue, 31 Oct 2000 12:03:52 +0000
parents 51c874361c84
children fb3f28966e50
files lisp/emacs-lisp/elp.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/elp.el	Tue Oct 31 12:02:51 2000 +0000
+++ b/lisp/emacs-lisp/elp.el	Tue Oct 31 12:03:52 2000 +0000
@@ -577,6 +577,9 @@
     ;; reset profiling info if desired
     (and elp-reset-after-results
 	 (elp-reset-all))))
+
+(defun elp-unload-hook ()
+  (elp-restore-all))
 
 (provide 'elp)