http://files.arcfn.com/doc/variables.html#defhook
You're right that it isn't used in the codebase, but perhaps it's used at the REPL or something like that.