[Top][All Lists]

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

Re: Some libraries does (require 'cl)

From: Richard Stallman
Subject: Re: Some libraries does (require 'cl)
Date: Fri, 18 May 2007 19:09:49 -0400

    Some libraries (iswitchb.el for example) does

       (require 'cl)

    without (eval-when-compile ...). Is not that incorrect?

It is incorrect, in general.  However, in the case of iswitchb,
it is a no-op:

    ;; CL needed for cadr and last
    (if (not (and (fboundp 'cadr)
                  (fboundp 'last)))
        (require 'cl))

The current Emacs has `cadr' and `last' as primitives, so cl
will never be loaded.

reply via email to

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