diff options
author | Alan Pearce | 2014-07-02 18:38:06 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-02 18:38:06 +0100 |
commit | 5256360f3e1cab6435c7a4f3d7c73358b098465b (patch) | |
tree | 67c92de6f61bbe3265ace78b94d471615ae81a4b /tag-emacs | |
parent | 50aeb46604892d696cba76e0c28ec532bac92361 (diff) | |
download | dotfiles-5256360f3e1cab6435c7a4f3d7c73358b098465b.tar.lz dotfiles-5256360f3e1cab6435c7a4f3d7c73358b098465b.tar.zst dotfiles-5256360f3e1cab6435c7a4f3d7c73358b098465b.zip |
Emacs: Fix incorrect lisp auto-indentation
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 5f5d92a..5c71755 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -363,12 +363,11 @@ auto-indent-assign-indent-level 4 auto-indent-backward-delete-char-behavior nil auto-indent-delete-trailing-whitespace-on-save-file t - auto-indent-mode-untabify-on-yank-or-paste nil) + auto-indent-mode-untabify-on-yank-or-paste nil + auto-indent-known-indent-level-variables + (remq 'lisp-body-indent auto-indent-known-indent-level-variables)) (add-to-list 'auto-indent-disabled-modes-list 'jinja2-mode) - (auto-indent-global-mode) - (defun lisp-auto-indent-mode () - (set (make-local-variable 'auto-indent-assign-indent-level) 2)) - (add-hook 'lisp-common-mode-hook #'lisp-auto-indent-mode))) + (auto-indent-global-mode))) (req-package smart-tabs-mode :commands (smart-tabs-mode |