[PATCH] emacs: globally replace non-branching "(if (not ..." with "(unless ..."

David Edmondson dme at dme.org
Fri Jan 13 05:01:07 PST 2012


On Fri, 13 Jan 2012 13:42:55 +0100, Xavier Maillard <xavier at maillard.im> wrote:
> On Fri, 13 Jan 2012 08:23:55 +0000, David Edmondson <dme at dme.org> wrote:
> > On Thu, 12 Jan 2012 18:33:06 +0100, Pieter Praet <pieter at praet.org> wrote:
> > > Less code, same results, without sacrificing readability.
> > 
> > +1, but why not replace non-branching `if' with `when' as well?
> 
> I tend to use WHEN for case I need to execute multiple
> statements. For the rest, IF is ok.

Understood.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120113/37c845e4/attachment.pgp>


More information about the notmuch mailing list