diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index 26defe9..1278c55 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -907,10 +907,16 @@ Also returns nil if pid is nil." (setq indent-tabs-mode nil) (local-set-key (kbd "RET") #'paredit-newline)) +(defun set-common-lisp-indentation () + (set (make-local-variable 'lisp-indent-function) + #'common-lisp-indent-function)) + (add-hook 'emacs-lisp-mode-hook #'ap/lisp-setup) (add-hook 'emacs-lisp-mode-hook #'turn-on-eldoc-mode) (add-hook 'scheme-mode-hook #'ap/lisp-setup) +(add-hook 'lisp-mode-hook #'ap/lisp-setup) +(add-hook 'lisp-mode-hook #'set-common-lisp-indentation) (use-package bytecomp :defer t |