help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: elisp's cl package. Don't understand the notice about eval-when-com


From: Jason Rumney
Subject: Re: elisp's cl package. Don't understand the notice about eval-when-compile
Date: Wed, 25 Mar 2009 22:30:44 -0700 (PDT)
User-agent: G2/1.0

On Mar 26, 10:12 am, Xah Lee <address@hidden> wrote:
> Xah Lee <address@hidden> writes:

> For example, when i do describe-function on “pop”, it says:
> «pop is a Lisp macro in `subr.el'.»
>
> but after loading cl, it says:
> «pop is a Lisp macro in `cl.el'.»
>
> So, it appears, cl package also shadow elisp symbols (apparantly they
> are the same thing, but if so, why there's one in still in cl when
> already moved to elisp?).

The doc string of the version in subr.el states "LISTNAME must be a
symbol whose value is a list", while the cl.el version handles non-
symbol values by calling cl-do-pop.

In general, cl versions with the same name provide a superset of the
elisp functionality.



reply via email to

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