[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Working Around for cl-count

From: Drew Adams
Subject: RE: Working Around for cl-count
Date: Thu, 29 Nov 2012 10:45:33 -0800

> >> Versions of Emacs less than version 24.2 complain about the lack of
> >> `cl-count`.
> >
> > In older versions, `cl-count' is called `count'.
> > Use something like this:
> > (if (fboundp 'cl-count) #'cl-count #'count)
> Or use the `cl-lib' package that's on GNU ELPA.

You can't do that if your code that calls `cl-count' is used by others.

What are you going to do?  Tell users of your code who have Emacs < 24.2 that
they must download `cl-lib' from GNU ELPA and put it in their `load-path'?  Or
download it yourself and bundle that package with your code?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]