Slime Tips

Little known features of Slime.

0 notes &

How to use ~/.swank.lisp

For some people it’s not obvious how to use ~/.swank.lisp to configure swank (the CL part of Slime).
First, it’s better to have (in-package :swank) at the beginning.
Then, instead of using SETF, it’s better to use DEFVAR or DEFPARAMETER, because ~/.swank.lisp is loaded before the contrib modules (in which some variables are defined) and SETF will produce a warning (like in the previous tip) or may not work at all.