[Top][All Lists]

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

bug#9329: 24.0.50; `condition-case' with (debug...) is broken

From: Lars Magne Ingebrigtsen
Subject: bug#9329: 24.0.50; `condition-case' with (debug...) is broken
Date: Fri, 19 Aug 2011 14:32:47 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

"Drew Adams" <address@hidden> writes:

> (let ((debug-on-error  t)
>       (eval-expression-debug-on-error  t))
>   (condition-case nil (/ 1 0)
>     ((debug error) "Test")))
> The debugger is not opened.  In Emacs 23.3 it is opened (as the doc says
> it should be).

The car of a handler may be a list of condition names
instead of a single condition name.  Then it handles all of them.

So it seems to be doing what it's supposed to be doing.

Is this what you wanted to say instead?

(condition-case error
    (/ 1 0)
   (debug error)

(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/

reply via email to

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