emacs-devel
[Top][All Lists]
Advanced

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

Usefulness of (t nil) as the last sexp in (cond ...) constructs?


From: Bastien
Subject: Usefulness of (t nil) as the last sexp in (cond ...) constructs?
Date: Sun, 19 Aug 2012 09:07:09 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

There are many places in *.el elisp files where we have this construct

(cond (...)
      (...)
      (t nil))

My understanding is that (t nil) is useless, since the ̀t' condition 
is only tested if other conditions are `nil'.

What is the purpose of (t nil)?

Can we safely remove it?

-- 
 Bastien




reply via email to

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