acet-error-init

Parent Previous Next

acet-error-init


(acet-error-init  initdata)

Initialises an error handler due to arguments contained in initdata list;
initdata is a list of up to three items or NIL :

item 1 : list of system variables and value to set - '("cmdecho" 0 "osmode 0 ...)
item 2 : flag indicating UNDO usage - NIL means not using UNDO; 0 means Undo/Begin is placed, not using UNDO in error case; 1 means means Undo/Begin is placed, and UNDO is used in error case
item 3 : optional a client error handler to be called in case of error (can be a quoted expression, function, lambda, defun etc.)

When using this function, the Lisp code should also call the matching (acet-error-restore) at end of execution.



©  Menhirs NV. All rights reserved.