]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dir-locals: Avoid use of setq which triggers Emacs warning 95/head
authorColin Walters <walters@verbum.org>
Thu, 17 Sep 2015 15:33:40 +0000 (11:33 -0400)
committerColin Walters <walters@verbum.org>
Thu, 17 Sep 2015 15:33:40 +0000 (11:33 -0400)
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.

.dir-locals.el

index cbbcec4f94a6c757ba0200196c8c349a9bb3be49..81300584ea0163eff30b27ab3ad4d24492a91cf9 100644 (file)
@@ -1,3 +1,3 @@
-((nil . ((setq sh-basic-offset: 4)
-         (setq indent-tabs-mode nil)
+((nil . ((sh-basic-offset . 4)
+         (indent-tabs-mode . nil)
          )))