Revert "Use setq-local where applicable"

This reverts commit a5de2c14aa3aa1fe5588ed87745319fd82e9e4cf.