diff lisp/emacs-lisp/elp.el @ 33095:ef9eb0f5f0b6

(elp-unload-hook): New function.
author Dave Love <fx@gnu.org>
date Tue, 31 Oct 2000 12:03:52 +0000
parents 5e197bc49066
children 64902dbf6ff9
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)