Previous: , Up: Tips and Tricks   [Contents][Index]


7.3 Connecting to SLIME automatically

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