Mercurial > emacs
comparison lispref/tips.texi @ 71769:068befac60e5
(Coding Conventions): Mention macros.
Suggested by Ken Manheimer.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Mon, 10 Jul 2006 22:53:56 +0000 |
parents | fa9d190c602e |
children | 8837b6008e64 |
comparison
equal
deleted
inserted
replaced
71768:c9706eb85193 | 71769:068befac60e5 |
---|---|
116 Please don't require the @code{cl} package of Common Lisp extensions at | 116 Please don't require the @code{cl} package of Common Lisp extensions at |
117 run time. Use of this package is optional, and it is not part of the | 117 run time. Use of this package is optional, and it is not part of the |
118 standard Emacs namespace. If your package loads @code{cl} at run time, | 118 standard Emacs namespace. If your package loads @code{cl} at run time, |
119 that could cause name clashes for users who don't use that package. | 119 that could cause name clashes for users who don't use that package. |
120 | 120 |
121 However, there is no problem with using the @code{cl} package at compile | 121 However, there is no problem with using macros from the @code{cl} |
122 time, with @code{(eval-when-compile (require 'cl))}. | 122 package at compile time, with @code{(eval-when-compile (require 'cl))}. |
123 | 123 |
124 @item | 124 @item |
125 When defining a major mode, please follow the major mode | 125 When defining a major mode, please follow the major mode |
126 conventions. @xref{Major Mode Conventions}. | 126 conventions. @xref{Major Mode Conventions}. |
127 | 127 |