aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-01-28 07:20:41 +0000
committerRichard M. Stallman2007-01-28 07:20:41 +0000
commitc446b0d3a97d0351d0ced2423e795b66ee4101b6 (patch)
treebe152daaa85459967f6366204500532c70870123
parenteca456adcfd4d48e9f5273835ca5d7e275ee2532 (diff)
downloademacs-c446b0d3a97d0351d0ced2423e795b66ee4101b6.tar.gz
emacs-c446b0d3a97d0351d0ced2423e795b66ee4101b6.zip
(Coding Conventions): Clarify the tip about macros
that define a function or a variable.
-rw-r--r--lispref/tips.texi3
1 files changed, 2 insertions, 1 deletions
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,
210not functions, and their names should start with @samp{def}. 210not functions, and their names should start with @samp{def}.
211 211
212@item 212@item
213Macros that define a function or variable should take the name to be 213A macro that defines a function or variable should have a name that
214starts with @samp{define-}. The macro should receive the name to be
214defined as the first argument. That will help various tools find the 215defined as the first argument. That will help various tools find the
215definition automatically. Avoid constructing the names in the macro 216definition automatically. Avoid constructing the names in the macro
216itself, since that would confuse these tools. 217itself, since that would confuse these tools.