On Jul 19, 2009, at 16:10, Neil Jerram wrote:
BTW, I implemented also the function bindings of symbols using this
fluid-based dynamic scoping at the moment -- but on second thought,
there's no scoping at all for function slots (all are global), is
there?
No, I don't think there is. `let' can't operate on function slots.
Not in the main emacs lisp implementation. However, cl-macs.el
provides an "flet" macro that does work on function slots; it uses the
"letf" macro which expands to include a use of unwind-protect to do
its dirty work.
Ken