From 41775b9b6b2cc3bd06b369b0a07913f4890fea0f Mon Sep 17 00:00:00 2001 From: Manoel Vilela Date: Sun, 16 Jul 2017 09:14:02 -0300 Subject: [PATCH] Upgrade prelude-common-lisp.el (#1099) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Remove TAB remap This will fix the warning for each TAB: > "‘slime-indent-and-complete-symbol’ is an obsolete command (as of 2015-10-18); * Add slime-cl-indent to slime-contribs This will ensure that lisp-indent-function will be used correctly for Common Lisp (not Emacs Lisp). --- modules/prelude-common-lisp.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/prelude-common-lisp.el b/modules/prelude-common-lisp.el index 0269013..4829f02 100644 --- a/modules/prelude-common-lisp.el +++ b/modules/prelude-common-lisp.el @@ -62,7 +62,7 @@ (setq slime-default-lisp 'sbcl)) ;; Add fancy slime contribs -(setq slime-contribs '(slime-fancy)) +(setq slime-contribs '(slime-fancy slime-cl-indent)) (add-hook 'lisp-mode-hook (lambda () (run-hooks 'prelude-lisp-coding-hook))) ;; rainbow-delimeters messes up colors in slime-repl, and doesn't seem to work @@ -78,8 +78,6 @@ slime-enable-evaluate-in-emacs t slime-autodoc-use-multiline-p t slime-auto-start 'always) - - (define-key slime-mode-map (kbd "TAB") 'slime-indent-and-complete-symbol) (define-key slime-mode-map (kbd "C-c C-s") 'slime-selector))) (provide 'prelude-common-lisp)