Upgrade prelude-common-lisp.el (#1099)

* 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).
This commit is contained in:
Manoel Vilela 2017-07-16 09:14:02 -03:00 committed by Bozhidar Batsov
parent 3f5b2e39db
commit 41775b9b6b

View file

@ -62,7 +62,7 @@
(setq slime-default-lisp 'sbcl)) (setq slime-default-lisp 'sbcl))
;; Add fancy slime contribs ;; 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))) (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 ;; 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-enable-evaluate-in-emacs t
slime-autodoc-use-multiline-p t slime-autodoc-use-multiline-p t
slime-auto-start 'always) 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))) (define-key slime-mode-map (kbd "C-c C-s") 'slime-selector)))
(provide 'prelude-common-lisp) (provide 'prelude-common-lisp)