[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with flet on last emacs
From: |
Stefan Monnier |
Subject: |
Re: problems with flet on last emacs |
Date: |
Sat, 10 Nov 2012 17:46:37 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Agree. But don't forget that some of the weirdness might be in
> use by libraries.
I know. And they'll have to change, e.g. using defadvice.
> come. 'flet' is going away now, and 'cl-flet' will provide the same
> weird behaviour with a nicer implementation.
No, cl-flet is like Common-Lisp's `flet', i.e. lexically scoped, like
`labels', but without the mutual-recursion. If you want the "function
redefinition" behavior, you need defadvice.
Stefan