From: Thomas Fitzsimmons <fitzsim@fitzsim.org>
To: emacs-devel@gnu.org
Subject: Free variable warning about bbdb-version (bug#19678)
Date: Fri, 06 Mar 2015 03:48:39 -0500 [thread overview]
Message-ID: <m3mw3qcxzs.fsf@fitzsim.org> (raw)
Hi,
I'm trying to make eudcb-bbdb.el compatible with BBDB 2 and BBDB 3. To
check the version, I need something like:
(if (version<= "3" bbdb-version) ...)
but the byte compiler warns:
Warning: reference to free variable `bbdb-version'
I'd rather not introduce a new warning. Is there a good way to handle
this? Adding (defvar bbdb-version) to eudcb-bbdb.el seems wrong, since
the version check is assuming it's a constant defined by the external
BBDB package.
(The best solution would be to bundle BBDB 3 into Emacs -- I'm working
toward this with Roland Winkler.)
Thanks,
Thomas
next reply other threads:[~2015-03-06 8:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-06 8:48 Thomas Fitzsimmons [this message]
2015-03-06 9:09 ` Free variable warning about bbdb-version (bug#19678) Tassilo Horn
2015-03-06 17:42 ` Stefan Monnier
2015-03-07 17:27 ` Roland Winkler
2015-03-08 2:10 ` Thomas Fitzsimmons
2015-03-08 3:14 ` Roland Winkler
2015-03-08 16:00 ` Thomas Fitzsimmons
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=m3mw3qcxzs.fsf@fitzsim.org \
--to=fitzsim@fitzsim.org \
--cc=emacs-devel@gnu.org \
/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.