]> git.eshelyaron.com Git - emacs.git/commit
Add `advice-flet' macro
authorAndrea Corallo <akrl@sdf.org>
Fri, 2 Oct 2020 16:13:28 +0000 (18:13 +0200)
committerAndrea Corallo <akrl@sdf.org>
Fri, 2 Oct 2020 19:20:50 +0000 (21:20 +0200)
commitd07d7ab1a0e321ced62ebe5dd9db27eb7e93430e
tree5649441b909d42e121644180e79c1e4789c9b614
parent36e0c3fb07db9805e97fbd2650aa28ac2c169dba
Add `advice-flet' macro

The testsuite does large use of primitive redefinition, to avoid that
we define `advice-flet' to use instead as an easy `cl-letf'
replacement.

* lisp/emacs-lisp/nadvice.el (advice-flet): New macro.
lisp/emacs-lisp/nadvice.el