From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: defvar inside let-binding Date: Mon, 01 Aug 2011 17:20:37 -0400 Message-ID: References: <87sjq7pq14.fsf@yun.yagibdah.de> <1ztyanqxv5.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: dough.gmane.org 1312233652 17156 80.91.229.12 (1 Aug 2011 21:20:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2011 21:20:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 01 23:20:47 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qnzul-00032v-QP for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2011 23:20:43 +0200 Original-Received: from localhost ([::1]:39124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnzul-0007vl-0O for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2011 17:20:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnzui-0007vU-PS for emacs-devel@gnu.org; Mon, 01 Aug 2011 17:20:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qnzuh-00075g-UI for emacs-devel@gnu.org; Mon, 01 Aug 2011 17:20:40 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:36084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnzuh-00075V-RN for emacs-devel@gnu.org; Mon, 01 Aug 2011 17:20:39 -0400 Original-Received: from ceviche.home ([96.22.109.87]) by vl-mr-mrz22.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0LP900LCPPYE7E50@vl-mr-mrz22.ip.videotron.ca> for emacs-devel@gnu.org; Mon, 01 Aug 2011 17:20:38 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id 4C424660CF; Mon, 01 Aug 2011 17:20:37 -0400 (EDT) In-reply-to: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 24.201.245.36 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:142647 Archived-At: > But does > (let ((foo nil)) > (foo-function)) > leave `foo' unbound if `foo' is a defcustom? Yes, just like with defvar. The difference is that defvar detects the problem and outputs a warning. Stefan