emacs-devel
[Top][All Lists]
Advanced

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

Re: Internationalize Emacs's messages (swahili)


From: Eli Zaretskii
Subject: Re: Internationalize Emacs's messages (swahili)
Date: Sat, 26 Dec 2020 11:54:49 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sat, 26 Dec 2020 10:34:46 +0100
> 
> > (not (null (cdr deleted))) would avoid traversing the entire list, but it
> > wouldn't be easier to read.
> 
> Perhaps a `longer-than-p' function would be helpful?  I.e.,
> (longer-than-p deleted 1)?  (Or some better name.)

Just add an optional arg LIMIT to 'length', since the implementation
will be the same, and you just want to terminate the loop as early as
possible.



reply via email to

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