|
From: | Michael Heerdegen |
Subject: | Re: How to shadow a function temporarily? (flet and cl-flet) |
Date: | Sun, 26 Jan 2014 20:45:04 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Barry Margolin <barmar@alum.mit.edu> writes: > Use `letf' of `symbol-function': > > (letf ((symbol-function 'function-name) (symbol-function > 'other-function)) > ...) That was my idea too, but that also doesn't work when compiled. Try with Stefan's counter example. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |