[slime-devel] Re: defclass form indentation

Marco Baringer mb at bese.it
Fri Feb 23 18:19:22 UTC 2007


"Bill Clementson" <billclem at gmail.com> writes:

> --- cl-indent-orig.el	2007-02-16 13:49:06.000000000 -0800
> +++ cl-indent-mods.el	2007-02-16 13:51:39.000000000 -0800
> @@ -214,15 +214,17 @@
>                   ((null method)
>                    (when (null (cdr path))
> 		     ;; (package prefix was stripped off above)
> -		     (cond ((string-match "\\`def"
> -					  function)
> +		     (cond ((and (string-match "\\`def"
> +					       function)
> +				 (not (string-match "\\`default-"
> +						    function)))
> 			    (setq tentative-defun t))
> 			   ((string-match

wouldn't (not (string-match "\\[^:]def" function)) be better?

-- 
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen




More information about the slime-devel mailing list