SLIME User Manual version 3.0-alpha - Common Lisp
SLIME User Manual version 3.0-alpha - Common Lisp
SLIME User Manual version 3.0-alpha - Common Lisp
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Chapter 7: Tips and Tricks 27<br />
to send its output to <strong>SLIME</strong>’s repl buffer, as opposed to *inferior-lisp*, set<br />
swank:*globally-redirect-io* to T.<br />
Note that the value of this variable is only checked when swank accepts the connection so<br />
you should set it via ‘~/.swank.lisp’. Otherwise you will need to call swank::globallyredirect-io-to-connection<br />
yourself, but you shouldn’t do that unless you know what<br />
you’re doing.<br />
7.3 Connecting to <strong>SLIME</strong> automatically<br />
To make <strong>SLIME</strong> connect to your lisp whenever you open a lisp file just add this to your<br />
‘.emacs’:<br />
(add-hook ’slime-mode-hook<br />
(lambda ()<br />
(unless (slime-connected-p)<br />
(save-excursion (slime)))))