Jim Blandy writes:
I suppose the quick fix would simply be to (load-library
"vm-motion") at the top. But maybe there's a reason to prefer the
patch below. The new bbdb-autoload-p and bbdb-overload functions
might also be useful elsewhere in BBDB.
Actually, the correct fix is to change bbdb-insinuate-vm to use the
hook that bbdb is desperate for, vm-select-message-hook, so it no
longer has to try to replace the vm function (the replacement doesn't
work properly with virtual folders).
But I think jwz is afraid that Kyle will take the hook away as soon as
he starts using it.