emacs-devel
[Top][All Lists]
Advanced

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

Re: Why (substring "abc" 0 4) does not return "abc" instead of an error?


From: Stefan Monnier
Subject: Re: Why (substring "abc" 0 4) does not return "abc" instead of an error?
Date: Mon, 16 Jul 2012 12:15:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

>> Would it be handy? Sometimes, perhaps. At other times, having
>> substring check that TO is indeed in range is quite useful. 
> I would be happy with a third optional argument FAIL-SILENTLY.

We have general functionality when you want to ignore some errors, such
as condition-case.


        Stefan



reply via email to

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