From 07e99041d19cf37524555d55fa69b96d6044bd23 Mon Sep 17 00:00:00 2001 From: alex-eg Date: Thu, 26 Dec 2019 09:38:54 +0300 Subject: [PATCH] Add lisp-mode-hook for sly: indentation and company-mode --- emacs/.emacs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs b/emacs/.emacs index 73c3a6f..0a4c6e2 100755 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -8,7 +8,12 @@ ;;; Local CLHS browsing! (load "~/quicklisp/clhs-use-local.el" t) -(use-package sly) +(use-package sly + :config (add-hook 'lisp-mode-hook + (lambda () + (setq lisp-indent-function 'common-lisp-indent-function) + (company-mode) + (common-lisp-set-style "classic")))) (setq-default c-basic-offset 4)