emacs-devel
[Top][All Lists]
Advanced

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

Re: VC-SVN problem


From: David Kastrup
Subject: Re: VC-SVN problem
Date: 09 May 2004 21:11:15 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

David Kastrup <address@hidden> writes:

> Richard Stallman <address@hidden> writes:
> 
> >     So, I'd like to fix this in vc-svn.el, in the simplest way: by adding
> >     (require 'cl) so that 'list*' is available.
> > 
> > Please don't do that.  It's not acceptable for any package in Emacs to
> > do that.  The CL functions are not standard parts of the Emacs Lisp
> > language, and the user may have defined the same names in some other
> > way.
> 
> Usually
> (eval-when-compile '(require 'cl))
> 
> should be sufficient, and it is what is recommended for that
> functionality in the Elisp manual.

Ok, I goofed.  Spurious quoting.  Here is the original passage from
the manual:

   * Please don't require the `cl' package of Common Lisp extensions at
     run time.  Use of this package is optional, and it is not part of
     the standard Emacs namespace.  If your package loads `cl' at run
     time, that could cause name clashes for users who don't use that
     package.

     However, there is no problem with using the `cl' package at compile
     time, for the sake of macros.  You do that like this:

          (eval-when-compile (require 'cl))



-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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