[slime-devel] Re: I need a direct replacement for	'slime-close-parens-at-point
    Tobias C. Rittweiler 
    tcr at freebits.de
       
    Mon Aug 27 20:10:11 UTC 2007
    
    
  
Frank Goenninger <frgo at mac.com> writes:
> (defun slime-close-parens-at-point ()
>  "...."
>   (interactive)
>   (loop for i from 1 to slime-close-parens-limit
>         until (save-excursion
>                 (slime-beginning-of-defun)
>                 (ignore-errors (slime-end-of-defun) t))
>         do (insert ")")))
>
> I guess (wild guessing here, really) it's slime-close-parens-limit
> that is not set... or?
No, the variable is still there, but NIL by default (with the meaning
that no limit should be assumed.) You just have to replace that
reference above with (or slime-close-parens-limit 16).
  -T.
    
    
More information about the slime-devel
mailing list