Next: , Previous: , Up: Overview   [Contents][Index]


1.1 Usage

Lisp code that uses features from the CL package should include at the beginning:

(require 'cl)

If you want to ensure that the new (Gillespie) version of CL is the one that is present, add an additional (require 'cl-19) call:

(require 'cl)
(require 'cl-19)

The second call will fail (with “cl-19.el not found”) if the old cl.el package was in use.

It is safe to arrange to load CL at all times, e.g., in your .emacs file. But it’s a good idea, for portability, to (require 'cl) in your code even if you do this.