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

From: Lars Magne Ingebrigtsen <[email-masked]>
Date: Fri, 19 Aug 2011 14:32:47 +0200

"Drew Adams" <[email-masked]> 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)
  (error
   (debug error)
   "Test"))

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