diff options
| author | Glenn Morris | 2012-11-10 16:37:40 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-11-10 16:37:40 -0800 |
| commit | 38868ad716a4d33a81fbaeea17fc0ee64616252c (patch) | |
| tree | 6a66de7903f6c162caf65ebeaf6ed4db33bffebc /doc/lispref/debugging.texi | |
| parent | 6efddf785187007804e677c3834b9d6ab18ffc86 (diff) | |
| download | emacs-38868ad716a4d33a81fbaeea17fc0ee64616252c.tar.gz emacs-38868ad716a4d33a81fbaeea17fc0ee64616252c.zip | |
Document new error symbol and function user-error
* doc/lispref/control.texi (Signaling Errors):
* doc/lispref/debugging.texi (Error Debugging):
* doc/lispref/errors.texi (Standard Errors): Add user-error.
* etc/NEWS: Related markup.
Diffstat (limited to 'doc/lispref/debugging.texi')
| -rw-r--r-- | doc/lispref/debugging.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index 2226db942d1..74000c2ba66 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -117,12 +117,12 @@ has any of those condition symbols, or if the error message matches | |||
| 117 | any of the regular expressions, then that error does not enter the | 117 | any of the regular expressions, then that error does not enter the |
| 118 | debugger. | 118 | debugger. |
| 119 | 119 | ||
| 120 | The normal value of this variable lists several errors that happen | 120 | The normal value of this variable includes @code{user-error}, as well |
| 121 | often during editing but rarely result from bugs in Lisp programs. | 121 | as several errors that happen often during editing but rarely result |
| 122 | However, ``rarely'' is not ``never''; if your program fails with an | 122 | from bugs in Lisp programs. However, ``rarely'' is not ``never''; if |
| 123 | error that matches this list, you may try changing this list to debug | 123 | your program fails with an error that matches this list, you may try |
| 124 | the error. The easiest way is usually to set | 124 | changing this list to debug the error. The easiest way is usually to |
| 125 | @code{debug-ignored-errors} to @code{nil}. | 125 | set @code{debug-ignored-errors} to @code{nil}. |
| 126 | @end defopt | 126 | @end defopt |
| 127 | 127 | ||
| 128 | @defopt eval-expression-debug-on-error | 128 | @defopt eval-expression-debug-on-error |