1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00

(Coding Conventions): Explain why use cl at compile time.

This commit is contained in:
Richard M. Stallman 2006-07-12 16:07:17 +00:00
parent f911a4454a
commit 9aa9b967b9

View file

@ -119,8 +119,9 @@ standard Emacs namespace. If your package loads @code{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 @code{cl} package at
compile time, e.g. for macros, with
@code{(eval-when-compile (require 'cl))}.
compile time, with @code{(eval-when-compile (require 'cl))}. That's
sufficient for using the macros in the @code{cl} package, because the
compiler expands them before generating the byte-code.
@item
When defining a major mode, please follow the major mode