emacs-devel
[Top][All Lists]
Advanced

[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: Michael Albinus
Subject: Re: master 6ebce84ff2b: Use t for non-nil default values in boolean defcustom declarations
Date: Sat, 29 Apr 2023 09:39:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Mattias Engdegård <mattiase@acm.org> writes:

Hi Mattias,

>     Use t for non-nil default values in boolean defcustom declarations
>
> +(defcustom viper-ms-style-os-p
> +  (not (not (memq system-type '(ms-dos windows-nt))))

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?

Best regards, Michael.



reply via email to

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