all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: emacs-devel@gnu.org
Subject: Re: Usefulness of (t nil) as the last sexp in (cond ...) constructs?
Date: Sun, 19 Aug 2012 14:45:00 +0200	[thread overview]
Message-ID: <87boi7uk37.fsf@gnu.org> (raw)
In-Reply-To: <87a9xrazm7.fsf@Rainer.invalid> (Achim Gratz's message of "Sun, 19 Aug 2012 13:29:52 +0200")

Achim Gratz <Stromeko@nexgo.de> writes:

> It's a nice (redundant) reminder that "if none of the other conditions
> is true, this form returns nil".

Okay.  In many cases, this reminder is not useful, as it is obvious from
the code.  I've removed (t nil) in such cases in org-mode git repo.

-- 
 Bastien



  parent reply	other threads:[~2012-08-19 12:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-19  7:07 Usefulness of (t nil) as the last sexp in (cond ...) constructs? Bastien
2012-08-19 10:23 ` Jeremiah Dodds
2012-08-19 11:29 ` Achim Gratz
2012-08-19 12:00   ` Thien-Thi Nguyen
2012-08-19 12:45   ` Bastien [this message]
2012-08-19 12:06 ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87boi7uk37.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=Stromeko@nexgo.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.