Set checkdoc-minor-mode locally using var, not exec