diff options
author | Michael R. Mauger <michael@mauger.com> | 2017-08-06 20:58:08 -0400 |
---|---|---|
committer | Michael R. Mauger <michael@mauger.com> | 2017-08-06 20:58:08 -0400 |
commit | 6e2c0929bac8d3896d0472222cd3e6b77cb24c35 (patch) | |
tree | 62668da72d88140958ed22273a6ed6557bc61a4a /lisp/emacs-lisp/elp.el | |
parent | df1a71272e5cdd10b511e2ffd702ca50ddd8a773 (diff) | |
parent | c2f1830d69f5a5e20dac6fcbf3af4d51afba92bd (diff) | |
download | emacs-6e2c0929bac8d3896d0472222cd3e6b77cb24c35.tar.gz emacs-6e2c0929bac8d3896d0472222cd3e6b77cb24c35.tar.bz2 emacs-6e2c0929bac8d3896d0472222cd3e6b77cb24c35.zip |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'lisp/emacs-lisp/elp.el')
-rw-r--r-- | lisp/emacs-lisp/elp.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el index d4500f131a2..7bdd749d5ab 100644 --- a/lisp/emacs-lisp/elp.el +++ b/lisp/emacs-lisp/elp.el @@ -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) |