Mercurial > emacs
comparison lispref/edebug.texi @ 60376:4f506e54cd57
(Instrumenting Macro Calls): Fix typo.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Fri, 04 Mar 2005 14:54:02 +0000 |
parents | 59d6cfcd4c9a |
children | f779a0469755 |
comparison
equal
deleted
inserted
replaced
60375:335c04088898 | 60376:4f506e54cd57 |
---|---|
1 @comment -*-texinfo-*- | 1 @comment -*-texinfo-*- |
2 @c This is part of the GNU Emacs Lisp Reference Manual. | 2 @c This is part of the GNU Emacs Lisp Reference Manual. |
3 @c Copyright (C) 1992, 1993, 1994, 1998, 1999 Free Software Foundation, Inc. | 3 @c Copyright (C) 1992, 1993, 1994, 1998, 1999, 2005 Free Software Foundation, Inc. |
4 @c See the file elisp.texi for copying conditions. | 4 @c See the file elisp.texi for copying conditions. |
5 | 5 |
6 @c This file can also be used by an independent Edebug User | 6 @c This file can also be used by an independent Edebug User |
7 @c Manual in which case the Edebug node below should be used | 7 @c Manual in which case the Edebug node below should be used |
8 @c with the following links to the Bugs section and to the top level: | 8 @c with the following links to the Bugs section and to the top level: |
1080 | 1080 |
1081 @example | 1081 @example |
1082 (defmacro for (var from init to final do &rest body) | 1082 (defmacro for (var from init to final do &rest body) |
1083 "Execute a simple \"for\" loop. | 1083 "Execute a simple \"for\" loop. |
1084 For example, (for i from 1 to 10 do (print i))." | 1084 For example, (for i from 1 to 10 do (print i))." |
1085 (declare (edebug symbolp "from" form "to" form "do" &rest form)) | 1085 (declare (debug symbolp "from" form "to" form "do" &rest form)) |
1086 ...) | 1086 ...) |
1087 @end example | 1087 @end example |
1088 | 1088 |
1089 The Edebug specification says which parts of a call to the macro are | 1089 The Edebug specification says which parts of a call to the macro are |
1090 forms to be evaluated. For simple macros, the @var{specification} | 1090 forms to be evaluated. For simple macros, the @var{specification} |