Mercurial > emacs
diff lispref/tips.texi @ 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 | 6d19c76d81c5 |
children | fc9d442f98d2 f83d17e1ace6 |
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.