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

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

Date: Fri, 13 Jan 2012 13:01:07 +0000

To: Xavier Maillard, Pieter Praet, Jani Nikula

Cc: Notmuch Mail

From: David Edmondson


On Fri, 13 Jan 2012 13:42:55 +0100, Xavier Maillard <xavier@maillard.im> wrote:
> On Fri, 13 Jan 2012 08:23:55 +0000, David Edmondson <dme@dme.org> wrote:
> > On Thu, 12 Jan 2012 18:33:06 +0100, Pieter Praet <pieter@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.
part-000.sig (application/pgp-signature)

Thread: