[slime-devel] Re: slime-region-for-defun-function

Helmut Eller heller at common-lisp.net
Thu Sep 25 06:28:45 UTC 2008


* Madhu [2008-09-25 08:00+0200] writes:

> * 2008-03-13  Helmut Eller  <heller at common-lisp.net>
> |	* slime.el (slime-region-for-defun-function): Deleted.
> |	(slime-region-for-defun-at-point): Use beginning-of-defun
> |	and not beginning-of-sexp.
>
> This breaks multiple use cases when evaluating s-expressions from lisp
> file buffers.

Which cases?

> `beginning-of-sexp' is the right thing to use here.  What motivated you to
> change this to `beginning-of-defun'?

beginning-of-defun can be customized with beginning-of-defun-function;
beginning-of-sexp can't.  I'm using that to find CMUCL's
(declaim (start-block)) forms.

Helmut.




More information about the slime-devel mailing list