Merge pull request #834 from tmccombs/slime-repl-fix
Improve slime repl
This commit is contained in:
commit
4e807b8d5f
1 changed files with 8 additions and 1 deletions
|
@ -61,8 +61,15 @@
|
||||||
;; default to SBCL on Linux and Windows
|
;; default to SBCL on Linux and Windows
|
||||||
(setq slime-default-lisp 'sbcl))
|
(setq slime-default-lisp 'sbcl))
|
||||||
|
|
||||||
|
;; Add fancy slime contribs
|
||||||
|
(setq slime-contribs '(slime-fancy))
|
||||||
|
|
||||||
(add-hook 'lisp-mode-hook (lambda () (run-hooks 'prelude-lisp-coding-hook)))
|
(add-hook 'lisp-mode-hook (lambda () (run-hooks 'prelude-lisp-coding-hook)))
|
||||||
(add-hook 'slime-repl-mode-hook (lambda () (run-hooks 'prelude-interactive-lisp-coding-hook)))
|
;; rainbow-delimeters messes up colors in slime-repl, and doesn't seem to work
|
||||||
|
;; anyway, so we won't use prelude-lisp-coding-defaults.
|
||||||
|
(add-hook 'slime-repl-mode-hook (lambda ()
|
||||||
|
(smartparens-strict-mode +1)
|
||||||
|
(whitespace-mode -1)))
|
||||||
|
|
||||||
(eval-after-load "slime"
|
(eval-after-load "slime"
|
||||||
'(progn
|
'(progn
|
||||||
|
|
Loading…
Reference in a new issue