* Stefan Monnier [2011-05-30 04:13] writes: >> What are the commands to inspect local variables of lexical functions? > > M-x esp RET That's too cryptic for me. What do you mean? >> Pressing C-M-c reduces one level of recursive edit but puts the >> *Backtrace* buffer in fundamental-mode which is IMO also wrong.] > > Yup, the *Backtrace* buffer's content and major-mode are not properly > saved&restored upon entry to and exit from the debugger. Patch welcome, Below is a simple patch. It only restores the content but not buffer local variables. Helmut