From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: byte-compile-maybe-guarded Date: Sat, 01 Mar 2008 15:07:00 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204402034 18120 80.91.229.12 (1 Mar 2008 20:07:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2008 20:07:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 01 21:07:40 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JVXzg-0005gh-KA for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2008 21:07:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVXz9-00017T-Vv for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2008 15:07:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVXz5-00016q-Lg for emacs-devel@gnu.org; Sat, 01 Mar 2008 15:07:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVXz3-00016X-Uw for emacs-devel@gnu.org; Sat, 01 Mar 2008 15:07:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVXz3-00016U-OJ for emacs-devel@gnu.org; Sat, 01 Mar 2008 15:07:01 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVXz3-0005GV-EV for emacs-devel@gnu.org; Sat, 01 Mar 2008 15:07:01 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JVXz2-0003uI-4U; Sat, 01 Mar 2008 15:07:00 -0500 X-Spook: Mafia Belknap MD5 UNSCOM bank Waco, Texas diwn MILSATCOM X-Ran: @]"q%AoC,(9VQU1<-j'9n6}273|t8Hay]|Copr_z=GvigXv889Lm0/ef8>K?;[Ig)<+rk* X-Hue: magenta X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:91002 Archived-At: Dan, FYI I've restored the code in byte-compile-maybe-guarded that you commented out 2007-11-10. Without this code, a false warning is produced in the following case: foo.el: (defsubst foo () (if (featurep 'xemacs) (setq foo t))) ; foo is a free variable (provide 'foo) bar.el: (require 'foo) (foo) emacs -Q -batch --eval "(add-to-list 'load-path default-directory)" \ -f batch-byte-compile bar.el In toplevel form: bar.el:2:2:Warning: assignment to free variable `foo'