Nick Dokos <ndo...@gmail.com> writes:

> I did a mapcan originally and saw that it was an alias for cl-mapcan in
> cl-extras.el and that got me scared: I vaguely recalled some rules about
> using cl-* stuff, but I don't really remember the rules any more. For
> future reference, are they written down somewhere?

My understanding is (require 'cl-lib) is OK.  We can probably kill a lot
of our own prefixed functions by using cl-lib functions.  And IMO we
should.  (require 'cl) is not good (other than when byte-compiling).

Correct me if I'm wrong. 

So cl-mapcan is OK.

> Also, does it matter if I use the alias "mapcan" instead of "cl-mapcan"?

I think for newer Emacs the prefix is preferred.  Sometimes the older
versions do not have it (e.g. outline-mode).  I don't know when the change
was made....

Rasmus

-- 
Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio


Reply via email to