Browse Source

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).
custom
Manoel Vilela 9 years ago
committed by Bozhidar Batsov
parent
commit
41775b9b6b
  1. 4
      modules/prelude-common-lisp.el

4
modules/prelude-common-lisp.el

@ -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)

Loading…
Cancel
Save