From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.help Subject: Re: Conditional compilation to avoid "assignment to free variable" Date: Wed, 24 Sep 2008 15:09:37 -0700 Organization: None Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222296052 19960 80.91.229.12 (24 Sep 2008 22:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2008 22:40:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 25 00:41:50 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kid3I-0007ff-NA for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 00:41:44 +0200 Original-Received: from localhost ([127.0.0.1]:44797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kid2G-0007ye-L4 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Sep 2008 18:40:40 -0400 Original-Path: news.stanford.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: xoc2.stanford.edu Original-X-Trace: news.stanford.edu 1222294177 2440 171.64.109.31 (24 Sep 2008 22:09:37 GMT) Original-X-Complaints-To: news@news.stanford.edu X-Spook: ARD PALIPEHUTU GIA freemasons salt peter defcon c4 ESSA X-Ran: uK;Ycb9}ul"m{($jgx4,#.[")(W!L5(J7ruCl4\{$ox.xtCpa%bPxyw List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58028 Archived-At: Michael Hoffman wrote: > (when (locate-library "auctex") > (load "auctex.el" nil t t) > (setq TeX-auto-save t)) > > When I byte-compile, however, I get a warning like this: > > emacs.el:320:9:Warning: assignment to free variable `TeX-auto-save' Byte-compiling your .emacs is pretty much a waste of time (you've probably already invested more time in it than it might ever save you). Worry about warnings while doing so is really a waste of time; but the standard method of suppressing free variable warnings is (defvar TeX-auto-save) (setq TeX-auto-save t)