emacs-devel
[Top][All Lists]
Advanced

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

condition-case with multiple handlers


From: Jay Belanger
Subject: condition-case with multiple handlers
Date: Sat, 28 Jul 2012 21:54:18 -0500

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.  I could, for example, set a flag in
each handler: 
  (some-error
     (setq flag t)
     ...some stuff ...)
  (another-error
     (setq flag t)
     ...different stuff...)
Is there a better way to do this?

Jay



reply via email to

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