Previous: Globally redirecting all IO to the REPL, Up: Tips and Tricks [Contents][Index]
To make SLIME connect to your lisp whenever you open a lisp file just add this to your .emacs:
(add-hook 'slime-mode-hook (lambda () (unless (slime-connected-p) (save-excursion (slime)))))