diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/debugging.texi | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index b0156e5ac7e..50f9853b7eb 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * debugging.texi (Explicit Debug): Document `debug-on-message'. | ||
| 4 | |||
| 1 | 2012-09-02 Chong Yidong <cyd@gnu.org> | 5 | 2012-09-02 Chong Yidong <cyd@gnu.org> |
| 2 | 6 | ||
| 3 | * windows.texi (Window Configurations): Recommend against using | 7 | * windows.texi (Window Configurations): Recommend against using |
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index 00e8d84e9b3..5aeff576d09 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -298,6 +298,11 @@ of @code{(debug)} isn't ignored, it will alter the execution of the | |||
| 298 | program!) The most common suitable places are inside a @code{progn} or | 298 | program!) The most common suitable places are inside a @code{progn} or |
| 299 | an implicit @code{progn} (@pxref{Sequencing}). | 299 | an implicit @code{progn} (@pxref{Sequencing}). |
| 300 | 300 | ||
| 301 | If you don't know exactly where in the source code you want to put | ||
| 302 | the debug statement, but you want to display a backtrace when a | ||
| 303 | certain message is displayed, you can set @code{debug-on-message} to a | ||
| 304 | regular expression matching the desired message. | ||
| 305 | |||
| 301 | @node Using Debugger | 306 | @node Using Debugger |
| 302 | @subsection Using the Debugger | 307 | @subsection Using the Debugger |
| 303 | 308 | ||