Blame 0083-dir-locals-Avoid-use-of-setq-which-triggers-Emacs-wa.patch

Harald Hoyer bb31e7
From 10d03bbfbc30a4ff596ffc77b73acdceef5a7826 Mon Sep 17 00:00:00 2001
Harald Hoyer bb31e7
From: Colin Walters <walters@verbum.org>
Harald Hoyer bb31e7
Date: Thu, 17 Sep 2015 11:33:40 -0400
Harald Hoyer bb31e7
Subject: [PATCH] dir-locals: Avoid use of setq which triggers Emacs warning
Harald Hoyer bb31e7
Harald Hoyer bb31e7
Emacs has a whitelist of "safe" variables, using `setq` overrides
Harald Hoyer bb31e7
that and causes it to warn when opening any file by default.
Harald Hoyer bb31e7
Harald Hoyer bb31e7
Dropping the `setq` makes Emacs do the right thing.
Harald Hoyer bb31e7
---
Harald Hoyer bb31e7
 .dir-locals.el | 4 ++--
Harald Hoyer bb31e7
 1 file changed, 2 insertions(+), 2 deletions(-)
Harald Hoyer bb31e7
Harald Hoyer bb31e7
diff --git a/.dir-locals.el b/.dir-locals.el
Harald Hoyer bb31e7
index cbbcec4..8130058 100644
Harald Hoyer bb31e7
--- a/.dir-locals.el
Harald Hoyer bb31e7
+++ b/.dir-locals.el
Harald Hoyer bb31e7
@@ -1,3 +1,3 @@
Harald Hoyer bb31e7
-((nil . ((setq sh-basic-offset: 4)
Harald Hoyer bb31e7
-         (setq indent-tabs-mode nil)
Harald Hoyer bb31e7
+((nil . ((sh-basic-offset . 4)
Harald Hoyer bb31e7
+         (indent-tabs-mode . nil)
Harald Hoyer bb31e7
          )))