From: Richard M. Stallman Date: Sun, 28 Jan 2007 07:20:41 +0000 (+0000) Subject: (Coding Conventions): Clarify the tip about macros X-Git-Tag: emacs-pretest-22.0.94~562 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c446b0d3a97d0351d0ced2423e795b66ee4101b6;p=emacs.git (Coding Conventions): Clarify the tip about macros that define a function or a variable. --- diff --git a/lispref/tips.texi b/lispref/tips.texi index 331f0799e4b..5f4479a5fd3 100644 --- a/lispref/tips.texi +++ b/lispref/tips.texi @@ -210,7 +210,8 @@ Constructs that define a function or variable should be macros, 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.