diff options
| author | Richard M. Stallman | 2007-01-28 07:20:41 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-01-28 07:20:41 +0000 |
| commit | c446b0d3a97d0351d0ced2423e795b66ee4101b6 (patch) | |
| tree | be152daaa85459967f6366204500532c70870123 | |
| parent | eca456adcfd4d48e9f5273835ca5d7e275ee2532 (diff) | |
| download | emacs-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.texi | 3 |
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, | |||
| 210 | not functions, and their names should start with @samp{def}. | 210 | not functions, and their names should start with @samp{def}. |
| 211 | 211 | ||
| 212 | @item | 212 | @item |
| 213 | Macros that define a function or variable should take the name to be | 213 | A macro that defines a function or variable should have a name that |
| 214 | starts with @samp{define-}. The macro should receive the name to be | ||
| 214 | defined as the first argument. That will help various tools find the | 215 | defined as the first argument. That will help various tools find the |
| 215 | definition automatically. Avoid constructing the names in the macro | 216 | definition automatically. Avoid constructing the names in the macro |
| 216 | itself, since that would confuse these tools. | 217 | itself, since that would confuse these tools. |