Emacs: enable auto-indent-mode in lisps and set its indent level to 2
Alan Pearce alan@alanpearce.co.uk
Sun, 02 Jun 2013 11:05:02 +0100
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M emacs/init.el → emacs/init.el
@@ -863,8 +863,8 @@ (redshank-mode +1)) (eldoc-add-command 'paredit-backward-delete 'paredit-close-round) (if (featurep 'auto-indent-mode) - (progn (auto-indent-mode -1) - (setq lisp-body-indent 2))) + (progn (set (make-local-variable 'auto-indent-assign-indent-level) 2) + (auto-indent-mode +1))) (show-paren-mode t) (setq indent-tabs-mode nil)