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:
parent
f911a4454a
commit
9aa9b967b9
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue