emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] emacs-25 db436e9: Don't call debug on failed cl-assert


From: Noam Postavsky
Subject: Re: [Emacs-diffs] emacs-25 db436e9: Don't call debug on failed cl-assert
Date: Fri, 27 Jan 2017 22:46:22 -0500

On Fri, Jan 27, 2017 at 10:30 PM, Clément Pit--Claudel
<address@hidden> wrote:
> On 2017-01-27 20:59, Noam Postavsky wrote:
>> I guess let-binding `debugger' to a function which performs the
>> logging should do the trick?
>
> I already do that, in fact, and I do re-throw the exception from there.  
> Looks like things didn't work because of the way `debugger' is called in 
> `cl--assertion-failed'.  Is that call correct?  The argument in (funcall 
> debugger `(cl-assertion-failed ,form ,string ,@sargs)) doesn't seem to match 
> the docs:
>
>     If due to error, args are ‘error’ and a list of the args to ‘signal’.
>
> Is the call just missing an 'error argument?
>

Oh yeah, I guess it is.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]