From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Usefulness of (t nil) as the last sexp in (cond ...) constructs? Date: Sun, 19 Aug 2012 09:07:09 +0200 Message-ID: <87mx1rthxb.fsf@altern.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1345366213 30841 80.91.229.3 (19 Aug 2012 08:50:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Aug 2012 08:50:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 19 10:50:14 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T31D3-0006Ft-GN for ged-emacs-devel@m.gmane.org; Sun, 19 Aug 2012 10:50:13 +0200 Original-Received: from localhost ([::1]:52504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T31D2-00030u-3R for ged-emacs-devel@m.gmane.org; Sun, 19 Aug 2012 04:50:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T31Cy-0002yO-Op for emacs-devel@gnu.org; Sun, 19 Aug 2012 04:50:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T31Cx-0007Xf-QC for emacs-devel@gnu.org; Sun, 19 Aug 2012 04:50:08 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T31Cx-0007XO-JW for emacs-devel@gnu.org; Sun, 19 Aug 2012 04:50:07 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T31Cu-00067T-2j for emacs-devel@gnu.org; Sun, 19 Aug 2012 10:50:04 +0200 Original-Received: from 10.14.113.78.rev.sfr.net ([78.113.14.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Aug 2012 10:50:04 +0200 Original-Received: from bzg by 10.14.113.78.rev.sfr.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Aug 2012 10:50:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 10.14.113.78.rev.sfr.net User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:oBM39kI6VAFQxxFscVdb2T43+u0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152664 Archived-At: 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