all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Free variable warning about bbdb-version (bug#19678)
@ 2015-03-06  8:48 Thomas Fitzsimmons
  2015-03-06  9:09 ` Tassilo Horn
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Thomas Fitzsimmons @ 2015-03-06  8:48 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-08 16:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-06  8:48 Free variable warning about bbdb-version (bug#19678) Thomas Fitzsimmons
2015-03-06  9:09 ` 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

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.