diff options
| author | Noam Postavsky | 2018-09-16 19:39:06 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2018-09-16 20:25:45 -0400 |
| commit | 3a2ffa62a7e491fda1083cbedb165a3e49fd21c6 (patch) | |
| tree | 021720bf5f1dd4cf9dff2ace589636dfe2bd32c2 /src | |
| parent | bc4f4b6e0ccbc361f4fabbed5eb2e5a357107588 (diff) | |
| download | emacs-3a2ffa62a7e491fda1083cbedb165a3e49fd21c6.tar.gz emacs-3a2ffa62a7e491fda1083cbedb165a3e49fd21c6.zip | |
Clarify condition-case docstring
* src/eval.c (Fcondition_case): Note that it handles non-error symbols
too.
Diffstat (limited to 'src')
| -rw-r--r-- | src/eval.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c index 500427cb62b..5e25caaa847 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1238,8 +1238,10 @@ Each element of HANDLERS looks like (CONDITION-NAME BODY...) | |||
| 1238 | where the BODY is made of Lisp expressions. | 1238 | where the BODY is made of Lisp expressions. |
| 1239 | 1239 | ||
| 1240 | A handler is applicable to an error if CONDITION-NAME is one of the | 1240 | A handler is applicable to an error if CONDITION-NAME is one of the |
| 1241 | error's condition names. A CONDITION-NAME of t applies to any error | 1241 | error's condition names. Handlers may also apply when non-error |
| 1242 | symbol. If an error happens, the first applicable handler is run. | 1242 | symbols are signaled (e.g., `quit'). A CONDITION-NAME of t applies to |
| 1243 | any symbol, including non-error symbols. If multiple handlers are | ||
| 1244 | applicable, only the first one runs. | ||
| 1243 | 1245 | ||
| 1244 | The car of a handler may be a list of condition names instead of a | 1246 | The car of a handler may be a list of condition names instead of a |
| 1245 | single condition name; then it handles all of them. If the special | 1247 | single condition name; then it handles all of them. If the special |