diff options
author | Alan Pearce | 2013-06-02 11:05:02 +0100 |
---|---|---|
committer | Alan Pearce | 2013-06-02 11:05:02 +0100 |
commit | f9e008b9fa277dad7e412f74b563951187f7f003 (patch) | |
tree | 2574452002fe4abd625e6952f50d4788ce5cd2e2 /emacs | |
parent | e89e6343160ae694fdf51feaac7e2531c83de5c2 (diff) | |
download | dotfiles-f9e008b9fa277dad7e412f74b563951187f7f003.tar.lz dotfiles-f9e008b9fa277dad7e412f74b563951187f7f003.tar.zst dotfiles-f9e008b9fa277dad7e412f74b563951187f7f003.zip |
Emacs: enable auto-indent-mode in lisps and set its indent level to 2
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 4 |
1 files changed, 2 insertions, 2 deletions
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) |