diff options
| author | Richard M. Stallman | 2003-08-06 01:25:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-08-06 01:25:23 +0000 |
| commit | a756468d977f42ea99130622b9472374309ee1dd (patch) | |
| tree | ea3d01276a4715063b375dd09564d70169675a96 | |
| parent | 8a6ca431c7023784a66b80b696cfdf7ea087b5e7 (diff) | |
| download | emacs-a756468d977f42ea99130622b9472374309ee1dd.tar.gz emacs-a756468d977f42ea99130622b9472374309ee1dd.zip | |
(Instrumenting Macro Calls): Don't define `declare' here;
instead xref Defining Macros.
| -rw-r--r-- | lispref/edebug.texi | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lispref/edebug.texi b/lispref/edebug.texi index 8ddbcf7a74f..fd7f1175ed0 100644 --- a/lispref/edebug.texi +++ b/lispref/edebug.texi | |||
| @@ -1077,15 +1077,14 @@ For example, (for i from 1 to 10 do (print i))." | |||
| 1077 | ...) | 1077 | ...) |
| 1078 | @end example | 1078 | @end example |
| 1079 | 1079 | ||
| 1080 | @defspec declare (edebug @var{specification}) | 1080 | The Edebug specifation says which parts of a call to the macro are |
| 1081 | Specify which expressions of a call to the macro in which the | 1081 | forms to be evaluated. For simple macros, the @var{specification} |
| 1082 | declaration appears are forms to be evaluated. For simple macros, the | 1082 | often looks very similar to the formal argument list of the macro |
| 1083 | @var{specification} often looks very similar to the formal argument list | 1083 | definition, but specifications are much more general than macro |
| 1084 | of the macro definition, but specifications are much more general than | 1084 | arguments. @xref{Defining Macros}, for more explanation of |
| 1085 | macro arguments. | 1085 | the @code{declare} special form. |
| 1086 | @end defspec | 1086 | |
| 1087 | 1087 | You can also define an edebug specification for a macro separately | |
| 1088 | You can also define an edebug specification for a macro separately | ||
| 1089 | from the macro definition with @code{def-edebug-spec}. Adding | 1088 | from the macro definition with @code{def-edebug-spec}. Adding |
| 1090 | @code{edebug} declarations is preferred, and more convenient, for | 1089 | @code{edebug} declarations is preferred, and more convenient, for |
| 1091 | macro definitions in Lisp, but @code{def-edebug-spec} makes it | 1090 | macro definitions in Lisp, but @code{def-edebug-spec} makes it |