Rasmus <ras...@gmx.us> writes: > 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.
cl-lib is standard in Emacs 24.3. Before that, all you can do is (eval-when-compile (require 'cl)) and use macros only. > So cl-mapcan is OK. Actually it's not until Emacs minimal version issue is sorted out by Bastien. Regards,