emacs-devel
[Top][All Lists]
Advanced

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

Re: bytecomp warning for CL functions


From: Dave Love
Subject: Re: bytecomp warning for CL functions
Date: 18 Jul 2002 19:48:38 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

> causes a warning at startup time:
> 
>   warning: Function `delete-if-not' from cl package called at runtime

Comments:

1. The warning is being issued correctly.

2. It's not a good idea to load cl in .emacs -- you can fail to spot
   problems, apart from the bloat.

3. You can turn off implicit compilation by defadvice.

4. defadvice should normally be avoided, apart from the bloat.  If a
   modification you want to make with it is useful, it normally
   indicates the lack of a hook.  I'd just copy the function and
   modify it to avoid sucking in advice in a case like that.



reply via email to

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