Previous: , Up: Elisp   [Index]


F.6 Nonlocal Exits

A nonlocal exit is a transfer of control from one point in a program to another remote point. A nonlocal exit can occur intentionally through use of catch and throw, or unintentionally, through the occurrence of an ‘error’.

The following sections discuss intentional non-local exists, unintentional non-local exits, and making sure your process remains in a consistent state following a non-local exit.