Emacs: Use electric-indent everywhere; not just in C-like modes
Alan Pearce alan@alanpearce.eu
Mon, 26 Jun 2017 14:40:33 +0200
1 files changed, 1 insertions(+), 2 deletions(-)
jump to
M emacs/.emacs.d/init.org → emacs/.emacs.d/init.org
@@ -864,6 +864,7 @@ #+BEGIN_SRC emacs-lisp (setq-default tab-width 2 indent-tabs-mode nil) +(electric-indent-mode +1) #+END_SRC @@ -2092,8 +2093,6 @@ #+BEGIN_SRC emacs-lisp (use-package cc-mode :defer 5 - :init (progn - (add-hook 'c-mode-common-hook #'electric-indent-mode)) :config (progn (setq c-default-style '((java-mode . "java") (awk-mode . "awk")