[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 6ebce84ff2b: Use t for non-nil default values in boolean defc
From: |
Mattias Engdegård |
Subject: |
Re: master 6ebce84ff2b: Use t for non-nil default values in boolean defcustom declarations |
Date: |
Sat, 29 Apr 2023 11:03:17 +0200 |
29 apr. 2023 kl. 09.39 skrev Michael Albinus <michael.albinus@gmx.de>:
> I'm just curious. Is there an advantage in using the (not (not ...))
> pattern? I would use (and ... t) instead, but perhaps your pattern is
> more performant? Or is it just a personal style?
I have no particular preference for either. If (and X t) is generally better
liked, then it's fine to change to that.
Right now (not (not X)) is often but not always slightly shorter and faster but
it doesn't matter in these cases and we could easily make both generate
identical code.