[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: |
Tue, 8 Nov 2016 19:55:11 -0500 |
On Tue, Nov 8, 2016 at 9:32 AM, Stefan Monnier <address@hidden> wrote:
>>> Wouldn't it better to use
>>> (setq debug-on-error '(cl-assertion-failed) debug-on-signal t) along with:
>> But I want debug-on-error to be t, so setting debug-on-signal non-nil is
>> not an option because it's too invasive.
>
> Hmm... maybe what I'd really want is
>
> (setq debug-on-signal '(cl-assertion-failed))
That makes sense. I think we should do that for 26.1. Meanwhile, I've
pushed the (funcall debugger...) solution to emacs-25 since that is
less of a change vs 25.1 than what's there currently.
Re: [Emacs-diffs] emacs-25 db436e9: Don't call debug on failed cl-assert, Philipp Stephani, 2016/11/06