summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1999-05-31 18:09:42 +0000
committerKarl Heuer <kwzh@gnu.org>1999-05-31 18:09:42 +0000
commitbecd59439f2195710e7a62f4b13e54291aab1ff3 (patch)
treec4c3c03c14e6fd3d1ae5598c53482c74f9f6e67a /lispref
parentc75d498611285dd3eafd10b1af9a3990f2955258 (diff)
downloademacs-becd59439f2195710e7a62f4b13e54291aab1ff3.tar.gz
*** empty log message ***
Diffstat (limited to 'lispref')
-rw-r--r--lispref/tips.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/lispref/tips.texi b/lispref/tips.texi
index b52c0352e0a..2ab8b289960 100644
--- a/lispref/tips.texi
+++ b/lispref/tips.texi
@@ -86,6 +86,19 @@ Using @code{eval-when-compile} avoids loading @var{bar} when
the compiled version of @var{foo} is @emph{used}.
@item
+Please don't require the @code{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 @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, for the sake of macros. You do that like this:
+
+@example
+(eval-when-compile (require 'cl))
+@end example
+
+@item
When defining a major mode, please follow the major mode
conventions. @xref{Major Mode Conventions}.