diff --git a/emacs/init.org b/emacs/init.org index 6a0ad7c..879b5cb 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2704,6 +2704,14 @@ Syntax checking etc.: (setq indent-tabs-mode nil)) #+END_SRC +* aggressive-indent-mode +Like [[help:electric-indent-mode][electric-indent-mode]] but reindents after every change: +#+BEGIN_SRC emacs-lisp + (use-package aggressive-indent + :hook ((clojure-mode . aggressive-indent-mode) + (emacs-lisp-mode . aggressive-indent-mode))) +#+END_SRC + * JSON #+BEGIN_SRC emacs-lisp (use-package json-mode