From 663d48172e4ce53e692ef61b9ff654822d56e6ec Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 15 Jun 2015 05:08:27 -0700 Subject: [PATCH] More no more tabs in js. --- dotfiles/emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index a968d17e..bbbc4a52 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -1602,7 +1602,8 @@ window is active in the perspective." :init (add-hook 'json-mode-hook (lambda () - (setq js-indent-level 4)))) + (setq indent-tabs-mode nil) + (setq js-indent-level 4)))) (add-hook 'css-mode-hook #'skewer-css-mode) (add-hook 'html-mode-hook #'skewer-html-mode)