1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-10 08:10:21 -08:00

* lisp/loadhist.el (unload-feature): Remove ad-hoc ELP code

* lisp/emacs-lisp/elp.el (loadhist-unload-element): Un-instrument functions.
This commit is contained in:
Stefan Monnier 2017-07-27 22:51:37 -04:00
parent eaa5dc9d10
commit 955e0cbb32
2 changed files with 5 additions and 5 deletions

View file

@ -583,6 +583,11 @@ displayed."
(elp-restore-all)
;; continue standard unloading
nil)
(cl-defmethod loadhist-unload-element :before :extra "elp" ((x (head defun)))
"Un-instrument before unloading a function."
(elp-restore-function (cdr x)))
(provide 'elp)