Andy Piper writes:
At 02:36 PM 4/7/00 +0200, Ulrich Kaage wrote:
>This is because last-command has this weird value:
>
>(lambda nil update-widget-instances #<x-frame "emacs" 0x77102>)
Eewwgh. So how do I keep this off the command history?
If you're running the command with command-execute or
call-interactive, both of these have a parameter that turns off
command recording. Another standard trick is to let-bind the
variables this-command and last-command so that their values
revert after your function has run.