From f9e008b9fa277dad7e412f74b563951187f7f003 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 2 Jun 2013 11:05:02 +0100 Subject: Emacs: enable auto-indent-mode in lisps and set its indent level to 2 --- emacs/init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index f880cb3..0df2b1f 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -863,8 +863,8 @@ Also returns nil if pid is nil." (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) -- cgit 1.4.1