[slime-devel] Re: question on auto-indenting

rif rif at MIT.EDU
Fri Jul 30 03:53:59 UTC 2004


> What's your `lisp-indent-function' variable set to in Lisp buffers?
> 
> You might need this in your lisp-mode-hook:
> 
>   (set (make-local-variable 'lisp-indent-function)
>        'common-lisp-indent-function)
> 
> In the CVS version of SLIME you can call (slime-setup) to configure
> lisp-mode-hook to enable slime, cl indentation, and (optionally) slime
> autodoc mode.
> 

Ok, I added that to my lisp-mode-hook.  It seemed to work.  Maybe that
should be in the manual?  Or was it, and I just missed it?

Also, why do I need it to be a local variable?

rif




More information about the slime-devel mailing list