Browse Source

dir-locals: Avoid use of setq which triggers Emacs warning

Emacs has a whitelist of "safe" variables, using `setq` overrides
that and causes it to warn when opening any file by default.

Dropping the `setq` makes Emacs do the right thing.
master
Colin Walters 10 years ago
parent
commit
10d03bbfbc
  1. 4
      .dir-locals.el

4
.dir-locals.el

@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
((nil . ((setq sh-basic-offset: 4)
(setq indent-tabs-mode nil)
((nil . ((sh-basic-offset . 4)
(indent-tabs-mode . nil)
)))

Loading…
Cancel
Save