bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#42397: [PATCH 02/14] ; * lisp/epg.el (epg-signature-to-string): Tiny


From: Jonas Bernoulli
Subject: bug#42397: [PATCH 02/14] ; * lisp/epg.el (epg-signature-to-string): Tiny refactor.
Date: Thu, 16 Jul 2020 20:03:33 +0200

Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Thu, 16 Jul 2020 16:54:44 +0200, Jonas Bernoulli <jonas@bernoul.li> 
>>>>>> said:
>
>     Jonas> `concat' treats arguments that are nil as if they were empty 
> strings.
>     Jonas> We therefore do not have to write (if TEST THEN "") and can just 
> use
>     Jonas> (and TEST THEN).
>
> Or (if TEST THEN), but I guess thatʼs just a matter of preferred style.

Indeed. I am aware that at least some of Emacs' developers prefer
to use `if' always, but I always use "when" when there is no else
and "and" (instead of "when") when the returned value is used.  I
can live with other people doing it differently, but I don't like
it.





reply via email to

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