Use printf instead of echo (thanks @bradleywright)
Set checkdoc-minor-mode in local vars without using exec