Mercurial > emacs
changeset 75477:afd36ac582f5
(Coding Conventions): Clarify the tip about macros
that define a function or a variable.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 28 Jan 2007 07:20:41 +0000 |
parents | 330094c564c4 |
children | 8a6a77c5f063 |
files | lispref/tips.texi |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/tips.texi Sun Jan 28 07:19:16 2007 +0000 +++ b/lispref/tips.texi Sun Jan 28 07:20:41 2007 +0000 @@ -210,7 +210,8 @@ not functions, and their names should start with @samp{def}. @item -Macros that define a function or variable should take the name to be +A macro that defines a function or variable should have a name that +starts with @samp{define-}. The macro should receive the name to be defined as the first argument. That will help various tools find the definition automatically. Avoid constructing the names in the macro itself, since that would confuse these tools.