2005-08-29

Installing SLIME

With the magic hook, SLIME could be run on lisp file open.

 ;Lisp enviroment installation
(setq inferior-lisp-program "clisp")
(add-to-list 'load-path "path_to_slime")
(require 'slime)
(slime-setup)

;Making slime connect to your lisp automatically when you open a lisp file.
(defun cliki:start-slime ()
(unless (slime-connected-p)
(save-excursion (slime))))
(add-hook 'slime-mode-hook 'cliki:start-slime)

Few more usefull tips can be found there.

No comments:

Post a Comment