emacs-devel
[Top][All Lists]
Advanced

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

Re: [NonGNU ELPA] 11 new packages!


From: Akib Azmain Turja
Subject: Re: [NonGNU ELPA] 11 new packages!
Date: Sat, 26 Nov 2022 11:53:11 +0600

Philip Kaludercic <philipk@posteo.net> writes:

> Akib Azmain Turja <akib@disroot.org> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>>
>>> iwindow:
>>>
>>> diff --git a/iwindow.el b/iwindow.el
>>> index c808bd26f9..eab2c3084b 100644
>>> --- a/iwindow.el
>>> +++ b/iwindow.el
>>> @@ -46,6 +46,8 @@
>>>  ;;; Code:
>>>  
>>>  (require 'cl-lib)
>>> +;; By adding `seq' as a dependency you could lower the dependency on
>>> +;; the minimum version of Emacs.
>>>  
>>
>> Thanks.  But then I would need to do the following:
>>
>> + cl-mapcar -> seq-mapn
>> + cl-labels -> named-let (right?)
>> + cl-letf* -> What?  unwind-protect?
>
> Eh, I didn't mean to say that you should replace cl-lib with seq, you
> can use both.

But I have already did it!  Anyway, the named-let code is much more
readable to me, and seq-mapn and cl-mapcar are basically the same.  And
I replaced cl-letf* with unwind-protect (oops), but seems like I
optimized the code at least little bit.  ;)

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

Attachment: signature.asc
Description: PGP signature


reply via email to

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