emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] externals/denote e24c9ddc12 2/2: Merge pull request #36 from


From: Stefan Monnier
Subject: Re: [elpa] externals/denote e24c9ddc12 2/2: Merge pull request #36 from jeanphilippegg/allow-no-keywords
Date: Thu, 07 Jul 2022 11:37:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>     (mapcar (if denote-allow-multi-word-keywords
>>                 #'denote--sluggify
>>               #'denote--sluggify-and-join)
>>             keywords))
>
> Is there any substantial advantage to pulling the if into the mapcar?

It's good for karma because you get to reduce code duplication.


        Stefan




reply via email to

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