[Top][All Lists]

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

Re: ignore-errors in XEmacs

From: Stefan Monnier
Subject: Re: ignore-errors in XEmacs
Date: Tue, 24 Sep 2013 17:31:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I'd like to replace
>   (condition-case () BODY (error nil))
> in mic-paren.el w/ ‘ignore-errors’, which is nowadays supplied by GNU
> Emacs subr.el (i.e., "built in").  Is it likewise built in w/ XEmacs?

I don't know about that, but I do recommend you carefully consider each
use: throwing all errors to /dev/null is sometimes the right thing to
do, but if errors really shouldn't happen (and yet, you want to protect
yourself from bugs in other packages), then it's better to use something
like with-demote-errors, so errors don't get in the way but they aren't
hidden under the carpet.


reply via email to

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