Fix the previous commit

Turns out you can't just *call* that function; you need to set it up
with defadvice so that it runs when everything is available.