diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-02-25 01:47:29 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-02-25 01:47:29 -0800 |
commit | 3fb190507f1f8cc5ad667abd2b84748f8e703242 (patch) | |
tree | 552c8fb3c41f3257aaef7c120dd84684c7dbb34b /txr.1 | |
parent | fee5943718c28f2b9e422bf0564ba35870e55d25 (diff) | |
download | txr-3fb190507f1f8cc5ad667abd2b84748f8e703242.tar.gz txr-3fb190507f1f8cc5ad667abd2b84748f8e703242.tar.bz2 txr-3fb190507f1f8cc5ad667abd2b84748f8e703242.zip |
New ignerr macro.
* eval.c (me_ignerr): New static function.
(eval_init): Registered ignerr macro.
* txr.1: Documented.
* tl.vim, txr.vim: Regenerated.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -19657,6 +19657,36 @@ operator, and the functions and .codn error . +.coNP Macro @ ignerr +.synb +.mets (ignerr << form *) +.syne +.desc +The +.code ignerr +macro operator evaluates each +.meta form +similarly to the +.code progn +operator. If no forms are present, it returns +.codn nil . +Otherwise it evaluates each +.meta form +in turn, yielding the value of the last one. + +If the evaluation of any +.meta form +is abandoned due to an exception of type +.codn error , +the code generated by the +.code ignerr +macro catches this exception. In this situation, +the execution of the +.code ignerr +form terminates without evaluating the remaining +forms, and yields +.codn nil . + .coNP Variable @ *unhandled-hook* The |