[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: |
Eli Zaretskii |
Subject: |
Re: [elpa] externals/denote e24c9ddc12 2/2: Merge pull request #36 from jeanphilippegg/allow-no-keywords |
Date: |
Thu, 07 Jul 2022 19:04:54 +0300 |
> 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.
Not if you are being paid by LOC count.