set-{eval,repl}-handler! operate on major modes, not minor modes (this should be corrected upstream, but I'll do so later). This doesn't apply to set-lookup-handlers!, but I'm changing it too for consistency.