From: Colin Walters Date: Thu, 17 Sep 2015 15:33:40 +0000 (-0400) Subject: dir-locals: Avoid use of setq which triggers Emacs warning X-Git-Tag: 044~104^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F95%2Fhead;p=thirdparty%2Fdracut.git 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. --- diff --git a/.dir-locals.el b/.dir-locals.el index cbbcec4f9..81300584e 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,3 +1,3 @@ -((nil . ((setq sh-basic-offset: 4) - (setq indent-tabs-mode nil) +((nil . ((sh-basic-offset . 4) + (indent-tabs-mode . nil) )))