[Top][All Lists]

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

bug#24618: 26.0.50; `condition-case' doesn't allow catching all signals

From: Noam Postavsky
Subject: bug#24618: 26.0.50; `condition-case' doesn't allow catching all signals
Date: Tue, 04 Sep 2018 19:06:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

tags 24618 fixed
close 24618 27.1

Philipp Stephani <address@hidden> writes:

> Consider the following code:
> (condition-case err
>     (signal 'does-not-exist '(1 2))
>   (error (print err)))
> The signal is not caught by condition-case because it has no error
> conditions.  This makes it impossible to reliably catch all signals
> (without abusing the debugger).  I propose that an error condition of
> 't' in `condition-case' should be interpreted as 'all conditions'.

Done in master.

[1: 425c281164]: 2018-09-04 18:50:15 -0400
  Allow t as a catch-all condition-case handler (Bug#24618)

reply via email to

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