diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/edebug.texi | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/doc/lispref/edebug.texi b/doc/lispref/edebug.texi index 94d61480f10..651bfacb4cf 100644 --- a/doc/lispref/edebug.texi +++ b/doc/lispref/edebug.texi | |||
| @@ -1705,23 +1705,18 @@ instrumented definition to the key of the new entry, and Edebug will | |||
| 1705 | call the new functions in place of its own for that definition. | 1705 | call the new functions in place of its own for that definition. |
| 1706 | @end defopt | 1706 | @end defopt |
| 1707 | 1707 | ||
| 1708 | @defopt edebug-new-definition-functions | 1708 | @defopt edebug-new-definition-function |
| 1709 | An abnormal hook run by Edebug after it wraps the body of a definition | 1709 | A function run by Edebug after it wraps the body of a definition |
| 1710 | or closure. After Edebug has initialized its own data, each function | 1710 | or closure. After Edebug has initialized its own data, this function |
| 1711 | is called with one argument, the symbol associated with the | 1711 | is called with one argument, the symbol associated with the |
| 1712 | definition, which may be the actual symbol defined or one generated by | 1712 | definition, which may be the actual symbol defined or one generated by |
| 1713 | Edebug. This hook may be used to set the @code{edebug-behavior} | 1713 | Edebug. This function may be used to set the @code{edebug-behavior} |
| 1714 | symbol property of each definition instrumented by Edebug. | 1714 | symbol property of each definition instrumented by Edebug. |
| 1715 | |||
| 1716 | By default @code{edebug-new-definition-functions} contains | ||
| 1717 | @code{edebug-announce-definition} which prints a message each time a | ||
| 1718 | definition is instrumented. If you are instrumenting a lot of code | ||
| 1719 | and find the messages excessive, remove | ||
| 1720 | @code{edebug-announce-definition}. | ||
| 1721 | @end defopt | 1715 | @end defopt |
| 1722 | 1716 | ||
| 1723 | @defopt edebug-after-instrumentation-functions | 1717 | @defopt edebug-after-instrumentation-function |
| 1724 | An abnormal hook run by Edebug after it instruments a form. | 1718 | To inspect or modify Edebug's instrumentation before it is used, set |
| 1725 | Each function is called with one argument, a form which has | 1719 | this variable to a function which takes one argument, an instrumented |
| 1726 | just been instrumented by Edebug. | 1720 | top-level form, and returns either the same or a replacement form, |
| 1721 | which Edebug will then use as the final result of instrumentation. | ||
| 1727 | @end defopt | 1722 | @end defopt |