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: Bastien
Subject: Re: Why (substring "abc" 0 4) does not return "abc" instead of an error?
Date: Mon, 16 Jul 2012 17:22:42 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Lennart Borgman <address@hidden> writes:

> It is a good reason not to change the old behaviour. However
> introducing a new function in Emacs like the one you suggest would
> save time for all those who need this function. 

Well, a third argument to let the function fail quitely would do.

> (It is hard for me even to come up with an example where I do not want
> this instead of the old one.)

For me too :)

-- 
 Bastien



reply via email to

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