[slime-devel] Re: I need a direct replacement for 'slime-close-parens-at-point

Frank Goenninger frgo at mac.com
Mon Aug 27 20:55:15 UTC 2007


Am 27.08.2007 um 22:10 schrieb Tobias C. Rittweiler:

> 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.

Yep. Works, of course. Thx!

Frank




More information about the slime-devel mailing list