[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 659199f: lisp/emacs-lisp/cl-indent.el: Fix indent of with-out
From: |
Oleh Krehel |
Subject: |
Re: master 659199f: lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string |
Date: |
Sun, 28 Jun 2015 15:41:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Oleh Krehel <address@hidden> writes:
> Leo Liu <address@hidden> writes:
>
>> On 2015-06-25 19:25 +0800, Oleh Krehel wrote:
>>> diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el
>>> index 57da715..9314419 100644
>>> --- a/lisp/emacs-lisp/cl-indent.el
>>> +++ b/lisp/emacs-lisp/cl-indent.el
>>> @@ -827,7 +827,7 @@
>>> optional\\|rest\\|key\\|allow-other-keys\\|aux\\|whole\\|body\\|environment\
>>> (with-accessors . multiple-value-bind)
>>> (with-condition-restarts . multiple-value-bind)
>>> (with-compilation-unit (&lambda &body))
>>> - (with-output-to-string (4 2))
>>> + (with-output-to-string 0)
>>> (with-slots . multiple-value-bind)
>>> (with-standard-io-syntax (2)))))
>>> (dolist (el l)
>>
>> Are you sure you are doing the right thing?
>
> Yes.
By bad. I've looked at (swank-backend:arglist 'with-output-to-string)
which returned (&REST SB-C::ARGS). I extrapolated from Elisp and thought
that they do the same thing. Thanks for fixing it.