]> git.eshelyaron.com Git - emacs.git/commitdiff
* eval.c (Fcondition_case): Document `debug' symbol in error handler.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 20 Aug 2011 21:22:46 +0000 (17:22 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 20 Aug 2011 21:22:46 +0000 (17:22 -0400)
src/ChangeLog
src/eval.c

index adf7291eadf878e0b1cd9ea4d471ded1fa5f1598..82d75d39b4011d7b009c48935ce6c64626fc1a94 100644 (file)
@@ -1,6 +1,7 @@
 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
 
        * eval.c (Fsignal): Handle `debug' symbol in error handler (Bug#9329).
+       (Fcondition_case): Document `debug' symbol in error handler.
 
 2011-08-19  Eli Zaretskii  <eliz@gnu.org>
 
index 8b121665ff75b65ceb4f8d50d7a4b0292727e8ee..372e995462084e8fd05b3d7b9f821f78477f9828 100644 (file)
@@ -1357,8 +1357,12 @@ A handler is applicable to an error
 if CONDITION-NAME is one of the error's condition names.
 If an error happens, the first applicable handler is run.
 
-The car of a handler may be a list of condition names
-instead of a single condition name.  Then it handles all of them.
+The car of a handler may be a list of condition names instead of a
+single condition name; then it handles all of them.  If the special
+condition name `debug' is present in this list, it allows another
+condition in the list to run the debugger if `debug-on-error' and the
+other usual mechanisms says it should (otherwise, `condition-case'
+suppresses the debugger).
 
 When a handler handles an error, control returns to the `condition-case'
 and it executes the handler's BODY...