[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: |
Robert Pluim |
Subject: |
Re: [elpa] externals/denote e24c9ddc12 2/2: Merge pull request #36 from jeanphilippegg/allow-no-keywords |
Date: |
Sun, 10 Jul 2022 15:25:57 +0200 |
>>>>> On Thu, 07 Jul 2022 19:04:54 +0300, Eli Zaretskii <eliz@gnu.org> said:
>> From: Stefan Monnier <monnier@iro.umontreal.ca>
>> Cc: emacs-devel@gnu.org, Protesilaos Stavrou <info@protesilaos.com>
>> Date: Thu, 07 Jul 2022 11:37:30 -0400
>>
>> >> (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.
Eli> Not if you are being paid by LOC count.
Iʼd much rather get paid by number of bugs fixed in my own code.
Robert
--