From: daniel@bigwalter.net (Daniel Jensen)
To: help-gnu-emacs@gnu.org
Subject: Re: Error byte compiling a file
Date: Mon, 28 May 2007 08:32:54 +0200 [thread overview]
Message-ID: <874plxmp9l.fsf@orme.bigwalter.net> (raw)
In-Reply-To: 1180321141.069989.42050@i38g2000prf.googlegroups.com
Davin Pearson <davin.pearson@gmail.com> writes:
> Here is my trashcan system:
>
> http://www.geocities.com/davinpearson/research/2006/trashcan.el.html
>
> When I try to byte compile this file I get the following error
> message:
>
> Compiling file d:/home/mylisp/trashcan.el at Mon May 28 14:51:54 2007
> ** reference to free variable trashcan--refresh-count
> ** assignment to free variable trashcan--refresh-count
>
> The problem is that I WANT TO assign to the free variable trashcan--
> refresh-count.
>
> Should I simply ignore this error message then?
Define the variable with defvar before use. You use the variable only
buffer-locally, so put a call to make-variable-buffer-local after the
defvar form. Then you don't need to use make-local-variable.
next prev parent reply other threads:[~2007-05-28 6:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-28 2:59 Error byte compiling a file Davin Pearson
2007-05-28 6:32 ` Daniel Jensen [this message]
2007-05-28 8:53 ` Xavier Maillard
[not found] ` <mailman.1346.1180342540.32220.help-gnu-emacs@gnu.org>
2007-05-28 9:01 ` Davin Pearson
2007-06-02 9:15 ` Johan Bockgård
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874plxmp9l.fsf@orme.bigwalter.net \
--to=daniel@bigwalter.net \
--cc=help-gnu-emacs@gnu.org \
--cc=indiscipline@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.