[emacs] Don't use setq-local, which only appeared in Emacs 24.4

/cc @enderw88