find-action [Function]


Purpose

The find-action function, a robust variant of get-action, searches for the action having a specified name.

Syntax

find-action action &key no-warning-p

Arguments

The action argument is an action, or the name of an action.

If the no-warning-p argument is t, then no warning is generated if Loom cannot find an action having the specified name.

Value

The find-action function returns the action with the specified name, or nil if none is found.

Remarks

The find- functions tend to be more flexible, slower, and do more error-checking than the get- functions (such as get-action).

Examples

(find-action 'move) ==> |ACTION|MOVE 
(find-action 'open :no-warning-p t) ==> |ACTION|OPEN

See Also

Last modified: Jun 1 1995