emacs-devel
[Top][All Lists]
Advanced

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

RE: condition-case with multiple handlers


From: Herring, Davis
Subject: RE: condition-case with multiple handlers
Date: Sun, 29 Jul 2012 03:26:51 +0000

> I'm dealing with a condition-case construct that has more than one
> handler and I need some way to indicate (outside the construct) when any
> one of the errors has occurred.

How about:

(let (noerror)
  (condition-case ...
    (progn
      ...
      (setq noerror t))
    (some-error ...)
    (other-error ...))
  ...)

Davis



reply via email to

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