emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: CC mode loads CL


From: Luc Teirlinck
Subject: Re: CC mode loads CL
Date: Thu, 15 Jan 2004 20:36:41 -0600 (CST)

Martin Stjernholm wrote:

   > You'll notice the duplication in CL of functions which occur in the
   > core with different definitions.

   I've noticed two such duplications: `dotimes' and `dolist'.

In addition, cl redefines `macroexpand' as an alias for
`cl-macroexpand'.  I do not know of any problems caused by these three
redefinitions, unless one tries to "unload" cl, which would apparently
give problems for several unrelated reasons too.

As a consequence of a cosmetic change I made (defining `declare' as a
trivial macro in core Emacs, as it already was in cl), `declare' is
now a fourth element of the list.  cl's redefinition of that one
should be completely harmless.  (The two definitions differ only at
compile time and the treatment of `declare' in core Emacs and cl is
now closer than it used to be).

There may be other redefinitions I have missed.  The redefinition of
`macroexpand' is hidden somewhere inside a defvar and there may be
other instances like that.

Sincerely,

Luc.




reply via email to

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