Omit redundant buffer argument to minibufferp
Set checkdoc-minor-mode locally using var, not exec