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: Daniel Brooks
Subject: Re: Internationalize Emacs's messages (swahili)
Date: Sat, 26 Dec 2020 01:47:12 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Daniel Brooks <db48x@db48x.net> writes:
>
>>> The above code sets 'pl' to a simple boolean based on whether
>>> 'deleted' has one member or more than one.  What more efficient code
>>> would you suggest here?
>>
>> (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.)

Yes, that would be a good readable name for it.

db48x



reply via email to

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